Hello Ibrahim, 

Which version of Java do you use? To avoid out-of-memory errors, you may 
consider setting a higher instance class in the appengine-web.xml 
configuration file, using <instance-class> </instance-class>. If you use 
Java 8, you could ask for more memory in the same configuration file, by 
means of: 

   <env-variables>       
        <env-var name="GAE_MEMORY_MB" value="1024M" />
        <env-var name="HEAP_SIZE_RATIO" value="90" />
    </env-variables>

Increasing memory might not provide a proper solution. If your app suffers 
from memory leaks, increasing allocated memory might prove just a temporary 
solution. You should first undertake a thorough investigation, to establish 
where the origin of these error is to be found. 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL. For coding 
and programming architecture, as well as solving Java memory leaks, you may 
be better served in dedicated forums such as stackoverflow, where 
experienced programmers are within reach and ready to help.  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/321c9e04-b9a6-4618-9423-b3188e8dbb47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to