X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EBC52D98DB for ; Tue, 27 Sep 2005 12:42:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 44254-02 for ; Tue, 27 Sep 2005 15:41:58 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id DD28CD994D for ; Tue, 27 Sep 2005 12:41:56 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Tue, 27 Sep 2005 10:41:56 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Tue, 27 Sep 2005 10:41:48 -0500 From: "Kevin Grittner" To: , Subject: Re: Trouble with PreparedStatement.setBinaryData or Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 required=5 tests=[AWL=0.004] X-Spam-Level: X-Archive-Number: 200509/115 X-Sequence-Number: 13900 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. =20 =20 >>> Alfredo Rico 09/27/05 10:17 AM >>> . . . =20 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=F3n del Servlet lanz=F3 una excepci=F3n org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter( MonitorFilter.java:362) causa ra=EDz 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...