RE: Memory footprint
RE: Memory footprint
- Subject: RE: Memory footprint
- From: "Pierre Bernard" <email@hidden>
- Date: Wed, 19 Feb 2003 09:13:12 +0100
- Thread-topic: Memory footprint
In the PBWO Makefile.postamble or Makefile.preamble you may specify the name of the JVM to use. You can replace that by something like java -Xmx128m. This will get copied into the launch scripts and apply to all instances of that application.
I guess you could also create, on your deployment machine, a script named java that in your path takes precedence over the actual executable. That script could launch the JVM while passing it additional arguments. That would apply to all applications launched by the user who has that script in his/her path.
You might also combine the above alternatives. Provide an alternate name for the JVM and create a script of that name on all your development and deployment machines. Actually you might have different scripts for applications with different needs.
Pierre.
-----Original Message-----
From: Dan [mailto:email@hidden]
Sent: Wednesday, February 19, 2003 1:50 AM
To: email@hidden
Subject: Memory footprint
OK - in 4.5.1 we could use NSMaxHeapSize to control the size of our
applications. I know I could pass a launch argument to the java command when
launching in WO 5, but is there a place I can set a default that will always
be used similar to NSGlobalDomain?
PS - I really do look for the answers to these before posting, and I've seen
others ask the same question, but no responses. Here's where I typically
look:
The new searchable mailing list page.
The old WebObjects discussion group.
The Omni site.
Are there any others that are useful?
Thanks,
Dan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
**********************************************************************
This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the sender
of this message. (email@hidden)
This email message has been checked for the presence of computer
viruses; however this protection does not ensure this message is
virus free.
Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
**********************************************************************
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.