<< Back to previous view |
[QB-1321] QB can pile a lot of Finalizer objects referencing CGLib enhanced objects to cause OOME
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 4.0.44 |
Fix Version/s: | 4.0.45 |
Type: | Bug | Priority: | Major |
Reporter: | Robin Shen | Assigned To: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
CGLib enhancer will subclass the object to be enhanced and override the finalize() method, and this will cause all enhanced steps/repositories to be in finalize queue and since step/repository will reference build (which will again reference configuration tree), and this can consume a lot of memory. The fix is to avoid overriding finalize method in CGLib.
|