Issue Details (XML | Word | Printable)

Key: DERBY-912
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Knut Anders Hatlen
Reporter: Manish Khettry
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Derby
DERBY-756

OutOfMemory error on continuous execution of SQL statement

Created: 03/Feb/06 04:00 AM   Updated: 24/Jan/08 01:10 PM
Return to search
Component/s: Store
Affects Version/s: 10.0.2.0
Fix Version/s: 10.2.2.0, 10.3.1.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works derby-912-v2.diff 2006-10-24 09:34 AM Knut Anders Hatlen 2 kB
File Licensed for inclusion in ASF works derby-912.diff 2006-10-20 06:32 PM Knut Anders Hatlen 2 kB
Environment: cygwin, jdk 1.4
Issue Links:
Duplicate
 
Reference
 

Resolution Date: 25/Oct/06 07:55 AM


 Description  « Hide
After fixing the original memory leak, I still run into problems on repeated execution of a sql statement. Take the sample program in the bug and run it with a small heap size (4m). After around 80-90K executions an outofmemory error is thrown. I took snapshots of the heap while the program was running but couldn't find anything obviously wrong.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #467578 Wed Oct 25 07:44:55 UTC 2006 kahatlen DERBY-912: OutOfMemory error on continuous execution of SQL statement

Reuse free sort identifiers.
Files Changed
MODIFY /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/RAMTransaction.java

Repository Revision Date User Message
ASF #467580 Wed Oct 25 07:52:53 UTC 2006 kahatlen DERBY-912: OutOfMemory error on continuous execution of SQL statement

Merged from trunk (svn merge -r 467577:467578 ../trunk).
Files Changed
MODIFY /db/derby/code/branches/10.2/java/engine/org/apache/derby/impl/store/access/RAMTransaction.java