[hibernate-dev] Memory consumption

Scott Marlow smarlow at redhat.com
Wed May 9 17:11:36 EDT 2012


This sounds related to the discussion here 
https://community.jboss.org/message/729224#729224.

How many persistence units do you have defined in the application?  Can 
you get a list of files in the deployment (e.g. run "jar tf 
Appname.?ar") and show us the files.

On 05/09/2012 04:58 PM, Andrej Golovnin wrote:
> Hi,
>
> it seems that screen shots were stripped by the mailing list software.
> I have uploaded them to flickr. Here are the links:
>
> http://www.flickr.com/photos/78207256@N07/7166944408/in/photostream
> http://www.flickr.com/photos/78207256@N07/7166945108/in/photostream
>
> Best regards
> Andrej Golovnin
>
> On 09.05.2012, at 22:35, Andrej Golovnin wrote:
>
>> Hi all,
>>
>> I have today deployed our application for the first time
>> on JBoss 7 with the latest Hibernate and Hibernate Search versions.
>> And I was totally shocked when I saw the memory consumption.
>>
>> I have created two screen shots from the memory dumps. The screen shots
>> are attached to this mail. Please take a look at them. The screen shot
>> names contains version numbers of the used Hibernate and Hibernate Search
>> frameworks. The memory dumps were created for one and the same
>> application version. I can't believe that the latest versions require nearly
>> twice as much memory as the old versions to perform the same tasks.
>> What's happen?
>>
>> Is this a known problem? Do you have any plans to change this situation,
>> e.g. to work on reducing memory consumption? Or maybe you already
>> started to work on this problem?
>>
>> We have been running our application with 768MB for max heap size and
>> serving hundreds of users. And now using the same memory settings I can
>> just deploy the application. :-(
>>
>> Best regards
>> Andrej Golovnin
>>
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev



More information about the hibernate-dev mailing list