use the environment variable....

JAVA_OPTS = -Xms 256m -Xmx 256m

ANT_OPTS = -Xms 256m -Xmx 256m

    256 is the size of the memory


regards
Shiva


-----Original Message-----
From: Shailender Jain [mailto:[EMAIL PROTECTED]
Sent: Friday, July 16, 2004 2:12 PM
To: [EMAIL PROTECTED]
Subject: Memory Problem


Hai,

I have developed my application using Struts 1.1 and Tomcat server.

I am facing a frequent problem of "OutOfMemory" Error.
What i can do to resolve this?
Is there any way by which i can find out which part of the code is
giving this problem.

Regards,
Shailender Jain




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to