Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #47511 All Revisions ] Back to Issue ]
Summary 0047511: Entity.getProperty generates too much memory garbage
Revision 2021-08-06 08:55 by alostale
Steps To Reproduce 1. Start recording with JDK Mission Control's Flight Recorder [1]
2. Ie. in POS create 4 time a ticket with 4 product and pay it
3. Check Flight Recorder results.
  -> It warns about byte[] allocation in Allocated Classes section
  -> In Memory details (see attached no-fix.png) check a total of ~250MB byte[] where allocated, checking the stack traces, it can be seen the main contributor for this allocation is Entity.getProperty.


[1] https://www.oracle.com/java/technologies/jdk-mission-control.html [^]
Revision 2021-08-06 08:52 by alostale
Steps To Reproduce 1. Start recording with JDK Mission Control's Flight Recorder [1]
2. Ie. in POS create 4 time a ticket with 4 product and pay it
3. Check Flight Recorder results.
  -> It warns about byte[] allocation in Allocated Classes section
  -> In Memory details check a total of ~250MB byte[] where allocated, checking the stack traces, it can be seen the main contributor for this allocation is Entity.getProperty.


[1] https://www.oracle.com/java/technologies/jdk-mission-control.html [^]
Revision 2021-08-06 08:50 by alostale
Steps To Reproduce 1. Start recording with JDK Mission Control's Flight Recorder [1]
2. Ie. in POS create 4 time a ticket with 4 product and pay it
3. Check Flight Recorder results.
  -> It warns about byte[] allocation in Allocated Classes section
  -> In Memory details check a total of ~250MB byte[] where allocated


[1] https://www.oracle.com/java/technologies/jdk-mission-control.html [^]


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker