Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:Don't.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:
Of course I'm obligated to point out to those who might not be aware that it is exceedingly dangerous to obtain and hold a Connection, especially between HTTP requests. One should always close the connection (thus returning it to the pool) as soon as it's no longer needed for the current database operation(s).
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Steve Dyke wrote:
is it correct to place the new DataRepository constructor call in:
Steve Dyke wrote:
Steve Dyke wrote:
is it correct to place the new DataRepository constructor call in:
Where does this get stored?
Does this play a role in the Heap Size?
The thing that has generated conversation is I found out that 5G of my 10G Max heap size was HttpSession store.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Tim Holloway wrote:
If your Session storage usage is that massive, first I'd determine how many HttpSessions you've got going, second, how much memory each session takes. Third, whether sessions are being made to live longer than they actually need to.
If there are lots of sessions, consider using ReST or clustering.
Note also that HttpSession-stored objects must always be Serializable.
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
A timing clock, fuse wire, high explosives and a tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|