Home > Archive > PostgreSQL JDBC > September 2005 > Re: Trouble with PreparedStatement.setBinaryData or









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Trouble with PreparedStatement.setBinaryData or
Kevin Grittner

2005-09-27, 11:24 am

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.

[color=darkred]

.. . .

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...


---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com