Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Applet OutOfMemoryError

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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: 43016
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your friend Google seems to know various ways of how to increase the applet memory allocation.
 
    Bookmark Topic Watch Topic
  • New Topic