Ask a Question

Out of Memory Error

alibaba82
Super Contributor

Out of Memory Error

Hello,
I ran a load test and set the max assertions to 200 to prevent a 'out of memory error'. However it seems like the issue or something similar is still happening.

Error Log:
Fri Nov 09 21:59:15 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 21:59:42 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:03:16 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:05:04 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:05:43 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:07:46 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:08:07 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:11:40 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:12:46 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
Fri Nov 09 22:12:55 CST 2007:ERROR:java.lang.OutOfMemoryError: Java heap space
  java.lang.OutOfMemoryError: Java heap space
3 REPLIES 3
omatzura
Super Contributor

Re: Out of Memory Error

Hi Ali,

hmm.. it's hard to say from this output.. had you disabled statistics history? Did you have extended information in the error-log? Have you adjusted the memory-settings? Can you maybe attach a screenshot of the LoadTest window when the error occurs?

thanks in advance!

regards,

/Ole
eviware.com
alibaba82
Super Contributor

Re: Out of Memory Error

i have not disabled history. I will try that in the next run to see if that makes a difference.

This is all the information I had in the error log.

memory setting are default. I will increase those as well in the next run.

I did see a lot of the following entries in the soapUI log window. Can you tell me what this means.


Fri Nov 09 17:38:41 CST 2007:WARN:Failed to prettyPrint xml [
   
        Runtime Error
       
   

   

           

Server Error in '/v2.5' Application.



           

Runtime Error



           

            Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
           



            Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".



           
             
                 
             
           

                     


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
</configuration>


                 


           


            Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.



           
             
                 
             
           

                     


<!-- Web.Config Configuration File -->

<configuration>
    <system.web>
        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
</configuration>


                 


           


   

]: org.apache.xmlbeans.XmlException: error: Unexpected character encountered: '1'
omatzura
Super Contributor

Re: Out of Memory Error

Thanks Ali,

the error you are seeing occurs when the server you are testing returns an error page, probably because it couldn't handle the load.. I've created an HTML page from the error, download it and view it in your browser..

regards!

/Ole
eviware.com
cancel
Showing results for 
Search instead for 
Did you mean: