openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abe White <awh...@bea.com>
Subject Re: cached byte[] consumes excessive memory
Date Tue, 31 Oct 2006 00:41:58 GMT
AbstractPCData needs to be modified to special-case primitive arrays  
to just copy the array and cache it is an opaque value, rather than  
using a List where each element is a potentially separately-cached  
instance.  Roger, I'd encourage you to file a JIRA issue for this  
problem.

p.s. In case it isn't obvious, the memory blowup is due to creating 7  
million Byte wrapper objects to store in the List -- one for each  
byte in the array.

Mime
View raw message