• Post Reply Bookmark Topic Watch Topic
  • New Topic

size of object in setAttribute

 
Anthony Karta
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just wonder, what is the maximum size of the object we can put in setAttribute of Page, Session, Request, Context?

but, how we can calculate the size of the object? for example that come from resultSet output such as customerBean

thanks
anthony
[ February 24, 2007: Message edited by: Anthony Karta ]
 
Muhammad Saifuddin
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The number of objects you can store in the session is dependent on how much memory you've allocated for the VM. The amount of memory allocated to the VM is dependent on the amount of RAM on the server(s).
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!