How often do you want to ask this question again? An OutOfMemoryError is 
nothing GWT specific.

There are basically three ways to deal with it:
1.) increase Tomcat's heap memory
2.) load less stuff into memory before writing the file. E.g. use 
Input/OutputStreams along with fixed sized buffers instead of reading 
everything into a large String and then writing that large String to a File.
3.) If you think 1.) and 2.) are ok in your project then check for memory 
leaks by creating a heap dump and analyzing it

Google search has tons of results for all of the above points.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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 http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to