openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: OOM with JDBCConfigurationImpl holding 1+ GB of heap
Date Thu, 09 May 2013 13:06:39 GMT
Can we see the contents of your persistence.xml file?


On Wed, May 8, 2013 at 6:34 PM, Alejandro Abdelnur <tucu00@gmail.com> wrote:

> We are seeing this using OpenJPA 2.1.0 in Oozie.
>
> A JDBCConfigurationImpl seems to be holding a large amount of memory via
> its dataCacheTimeout (then listeners) instance variable keeping
>
> Class                          # Objects  Used Heap   Retained Heap
> -------------------------------------------------------------------
>
> o.a.o.j.meta.MappingRepository  1,902     304,320     904,410,184
> o.a.o.j.meta.ClassMapping       3,824     1,223,680   105,073,624
> -------------------------------------------------------------------
>
>
> We are using a single EntityManagerFactory and we are closing all
> EntityManager instances correctly (via a command pattern).
>
> All caching settings are default ones.
>
> Any hint where to look would be appreciated it.
>
> Thanks
>
> Alejandro
>



-- 
*Rick Curtis*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message