aspose file tools*
The moose likes Applets and the fly likes Applet OutOfMemoryError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet OutOfMemoryError" Watch "Applet OutOfMemoryError" New topic
Author

Applet OutOfMemoryError

Ralph Ma
Greenhorn

Joined: Aug 18, 2005
Posts: 10
Hi guys,

I got an error about OutOfMemoryError when the applet tried to read a 10m file. Does anybody know how to enlarge the max memory of applet in client side?

Thanks and regards,
Ralph


SCJP 1.2<br />SCWCD 1.3<br />SCBCD 1.3<br />SCDJWS
Nicholas Jordan
Ranch Hand

Joined: Sep 17, 2006
Posts: 1282
Do the reads yourself:

[ April 18, 2008: Message edited by: Nicholas Jordan ]

"The differential equations that describe dynamic interactions of power generators are similar to that of the gravitational interplay among celestial bodies, which is chaotic in nature."
Ralph Ma
Greenhorn

Joined: Aug 18, 2005
Posts: 10
Originally posted by Nicholas Jordan:
Do the reads yourself:


[ April 18, 2008: Message edited by: Nicholas Jordan ]



Nicholas,

Thank you for your update.
Acctually, we need read several files and their metadata from an xml file. Then upload the files and metadata to the server. The file and metadata should be kept in a format structure. So, we choose XML as container. This error was occurred during constructure XML. Do you have any idea about this error?

Regards,
Ralph
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41830
    
  63
Your friend Google seems to know various ways of how to increase the applet memory allocation.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applet OutOfMemoryError