CDV ❯ Handle large literals (ie. Strings) more efficiently in the server
-
Bug
-
Status: Open
-
2 Major
-
Resolution:
-
DSO:L2
-
-
prodmgmt
-
Reporter: teck
-
February 01, 2007
-
0
-
Watchers: 0
-
March 19, 2010
-
Description
At the moment we store Literals (primitives, primitive wrapper types, Strings, Classes, etc) directly in the corresponding managed state objects that contain them. This isn’t always a problem, but a hot object (one that stays in cache) and that contains lots of “large” literals (ie. large Strings), the memory requirements can be unacceptable.
As a simple test, load up a single shared map with many large string values. One shouldn’t be able to OOME the server in this way, but it will.
Assigning to PM for review