Fixing java.lang.OutOfMemoryError ??

0 views
Skip to first unread message

Anthony Shortland

unread,
Jun 8, 2007, 7:16:40 PM6/8/07
to contr...@googlegroups.com
In order to upload and deploy a ~4.5MB module jar file using ProjectBuilder, I had to “hack” ad as follows:

java -Xms128m -Xmx512m -classpath $cp \
-Dcmdr.classname=$CMDR_CLASSNAME \
-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol \
-Djavax.net.ssl.trustStore=$ANTDEPO_BASE/etc/truststore \
-Djavax.net.ssl.trustStoreType=jks \
-Dantdepo.base=$ANTDEPO_BASE \

...
order in order to get round a java.lang.OutOfMemory error.

Is there a supported method of configuring the Antdepo JVM that does not require modifying the script itself?

Anthony.

Alex-SF

unread,
Jun 9, 2007, 4:57:40 PM6/9/07
to ControlTier, antdep...@yahoogroups.com
Try setting JAVA_OPTS in the $ANTDEPO_BASE/etc/profile

Also, CC'ing the antdepo list since it's really a topic for that
forum.

Reply all
Reply to author
Forward
0 new messages