History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-15918
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Anders Wallgren
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

OutOfMemoryError: PermGenSpace from HQL console

Created: 20 Oct 07 03:14   Updated: 21 Dec 07 18:06
Component/s: J2EE.Hibernate

Build: 7,361


 Description  « Hide
The HQL Console eventual throws an OOME due to PermGenSpace running out – looks like there's a leak in there somewhere, probably related to exception handling, since I can't seem to get the console to work at all (IDEA-15917).

 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 21 Dec 07 18:06
8062: at least one leak is the following:
1. Open project with hibernate configuration. Check the permanent memory usage (e.g. with jstat).
2. Open HQL console. Run query (my query selects 2 records from 1 table).
3. Close console, close project.
4. Reopen project, open console, run the same query. Check the permanent memory usage: it's grown in 4Mb.
Repeat again: memory usage is 4Mb more again.
The essential condition to reproduce is closing and opening projects. Whithout this there is no leak.