Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applet Memory  RSS feed

 
Mat Anthony
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm trying to find a way to set the max and min memory settings for an applet via its html. Can this be done?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, that's not possible. The user needs to set that in the Java Plugin control panel on their machine.
 
Mat Anthony
Ranch Hand
Posts: 263
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
Sorry for the previous message. Is it possible to set the max and min properties within the html and pass them to the applet. The applet then sets the max and min values that it would run with???
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gone :-)

No, that's not possible either. If the web app/applet could somehow affect this w/o the user doing anything, then it could start a denial of service attack against the client machine by claiming all memory.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!