Increase Application Memory

  • Thread starter Thread starter JBowler
  • Start date Start date
J

JBowler

I need to increase the amount of memory issued to an application. By default
it is 64 mb but I need 128 mb.

Problem:
Web server running a JAVA application. There is quite alot of usage and
there are problems when more than a few hundred users are on. By default
Win2k has given the JAVA application 64 mb of RAM to use. I need to increase
that to 128. We have a couple gig of RAM but not all of it is used. Less
than 1 gig actually. We get out of memory errors in the logs. The Sun JAVA
compiler has a leak (known bug).

If anyone can suggest a way to do this i would be grateful. Thanks.

JBowler
 
JBowler said:
I need to increase the amount of memory issued to an application. By default
it is 64 mb but I need 128 mb.

Problem:
Web server running a JAVA application. There is quite alot of usage and
there are problems when more than a few hundred users are on. By default
Win2k has given the JAVA application 64 mb of RAM to use. I need to increase
that to 128. We have a couple gig of RAM but not all of it is used. Less
than 1 gig actually. We get out of memory errors in the logs. The Sun JAVA
compiler has a leak (known bug).

If anyone can suggest a way to do this i would be grateful. Thanks.

JBowler

i think this is a java issue not windows. windows will give an application
as much memory as it requests. the java virtual machine may have a default
memory size it allocates to a process, try checking with the help for your
jvm to see if it has a way to increase memory size. you may also want to
ask in the comp.lang.java.* groups.
 
Thanks for that. I am just the server techie. I have passed the problem back
to dev team for them to sort out. Less for me to worry about. One of them
recognised the JVM thing. Also JAVA uses the system memory and not
application. Just learned that. Thanks again for the suggestion.

JBowler
 
-----Original Message-----

application. By
default use. I need to
increase


i think this is a java issue not windows. windows will give an application
as much memory as it requests. the java virtual machine may have a default
memory size it allocates to a process, try checking with the help for your
jvm to see if it has a way to increase memory size. you may also want to
ask in the comp.lang.java.* groups.


.
Hi,
my Windows 2000 computer does not give all the memory,
which is requested by a C-program.

My computer has 3GB main memory. A small c-program, which
tries to allocate memory and increases the requested
amount of memory if the previous request was successful,
breaks when 393 MB are reached. There must be a Windows
setting to allow for mor memory.
 
Back
Top