More memory: Ant and manifest

K

Karsten Wutzke

How do I make my application allocate more memory on startup? Production
version is a simple JAR file, so it might work with some setting in the
manifest, doesn't it? It so, what does the entry look like?

How do achieve the same using Jakarta Ant?

TIA,
Karsten
 
D

Davor Cengija

Karsten said:
How do I make my application allocate more memory on startup?
Production version is a simple JAR file, so it might work with some
setting in the manifest, doesn't it? It so, what does the entry look
like?

What about a simple wrapper script which would set -Xmx etc parameters prior
to calling -jar your.jar?
 
K

Karsten Wutzke

Davor said:
What about a simple wrapper script which would set -Xmx etc parameters prior
to calling -jar your.jar?

Hmm. One of the requirements by my prof is, that the app should be
double clickable in a file manager, so this is not quite acceptable.

Isn't there any way by the manifest/JAR mechanism to set the -Xmx
option? Or is there a way to do that internally in my program?

Karsten
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top