• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Applet OutOfMemoryError

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do the reads yourself:

[ April 18, 2008: Message edited by: Nicholas Jordan ]
 
Ralph Ma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your friend Google seems to know various ways of how to increase the applet memory allocation.
 
Villains always have antidotes. They're funny that way. Here's an antidote disguised as a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic