pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: alfredorico@gmail.com
To: pgsql-jdbc@postgresql.org
Subject: Re: Trouble with PreparedStatement.setBinaryData or
Date: Tue, 27 Sep 2005 10:41:48 -0500
Message-ID: <s33921f4.008@gwmta.wicourts.gov> (raw)

The memory setting for your IDE isn't necessarily what is used
for processes run from the IDE.  I don't use NetBeans, but in
Eclipse there is a place to define your launch parameters; you
should look for something similar in NetBeans and set use the
-Xmx setting there.
 
 
>>> Alfredo Rico <alfredorico@gmail.com> 09/27/05 10:17 AM >>>

. . .
 
The great and terrible problem is the following:
If input file (pdf, doc, png, txt whatever...) exceed 2 MB
I have the following exception:

javax.servlet.ServletException: La ejecución del
Servlet lanzó una excepción
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(
MonitorFilter.java:362)
causa raíz
java.lang.OutOfMemoryError: Java heap space

. . .

Besides, I have increased JVM heap starting Netbeans IDE using the following
sentence:

$ ./netbeans -J-Xmx300m

And even don't work...




view thread (4+ messages)  latest in thread

Message-ID: <s33921f4.008@gwmta.wicourts.gov>
Permalink:  ../s33921f4.008@gwmta.wicourts.gov/
Also on:    postgresql.org/message-id/s33921f4.008@gwmta.wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, alfredorico@gmail.com
  Subject: Re: Trouble with PreparedStatement.setBinaryData or
  In-Reply-To: <s33921f4.008@gwmta.wicourts.gov>
  References: <s33921f4.008@gwmta.wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox