Forum Discussion

tslosar's avatar
tslosar
Contributor
12 years ago

Deployed on tomcat - run out of memory

mockservice deployed as war - after about 30 requests tomcat freezes
catalina.out : [SoapUI] An error occured [PermGen space], see error log for details

1. No error log is available
a. Where is this supposed to be?
b. How are it's properties configured?

2. I have found several posts addressing how to allocate more memory for the application, however
How is the memory allocation increased for the mockservice deployed on tomcat?

All help is greatly appreciated.

3 Replies

  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    hi, what is the version you use to generate the war?
    as you deployed the war in tomcat, you should try to increase the perm gen memory setting of the tomcat instance.
  • Thank you for your post. I apologize I did not respond for some reason I did not get a notification.
    I found the tip to increase permgen memory in another forum and that solved the issue - for a while.

    Now the mockservices seem to be crashing our server. I am not sure if I can safely increase the permgen value and to what level.
  • redfish4ktc2's avatar
    redfish4ktc2
    Super Contributor
    no problem for the late feedback :-)
    for the permgen value, i cannot help you on that: it clearly depends on what your mockservices do and your environment