users@glassfish.java.net

Re: How can I checkout the source that directly matches V2 UR2 Final Build

From: Sahoo <Sahoo_at_Sun.COM>
Date: Tue, 05 Aug 2008 00:28:10 +0530

How are you starting the database? asadmin start-database? Have you
tried using something like this:

export DERBY_HOME=$GlassFish_HOME/javadb/
export DERBY_OPTS=-Xmx512m
sh $DERBY_HOME/bin/startNetworkServer

Sahoo
glassfish_at_javadesktop.org wrote:
> Yes, I really need to build it from source. The distribution provides no way of setting the jvm memory parameters when it starts the bundled JavaDB. It provides every possible option under the sun for all other things, but not for this :)
>
> We use the bundled JavaDB and it is running into an out of memory condition with a query that returns many thousands of results. So I need to add a new option to pass in the "-Xmx" jvm option when the process is started.
> [Message sent by forum member 'bbergquist' (bbergquist)]
>
> http://forums.java.net/jive/thread.jspa?messageID=291399
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>