<< Back to previous view

[QB-2687] Deleting large numbers of builds can hang QB (manually or in System Maintenance)
Created: 05/Apr/16  Updated: 21/Apr/16

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 5.1.16
Fix Version/s: 6.1.13

Type: Bug Priority: Major
Reporter: dave regis Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Linux (SLES) with 128 GB of RAM, Java MaxHeap set to 8 GB.


 Description   
When deleting large numbers (5000+) of builds from a config, QB will consume very large amounts of memory to the point that it can end up stuck with all actions failing due to exhausted Java heap -- we've seen this also peg CPU usage. When this occurs, the system becomes unresponsive, all processing appears to stop, and no more entries are written to the console or quickbuild logs.

This issue can be manually triggered by selecting all "Delete all builds" option on a config with a very large number of builds. It also happens during System Maintenance if a configuration's "Build Cleanup Strategy" has changed to cause large numbers of builds to be deleted.


Generated at Tue May 21 09:43:57 UTC 2024 using JIRA 189.