Opened 16 months ago

Last modified 16 months ago

#6697 closed defect

[macOS] 0ad drives up memory and CPU usage making the computer unusable — at Initial Version

Reported by: Langbart Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: Patch:

Description

  • I have built spidermonkey 91 on the 11/jan/23 (GitHub) on commit [27409]
    • I did not notice any performance issues, while debugging and playing for over a week
  • on the 18/Jan/23 I did a rebuild of spidermonkey, ever since then I noticed my RAM is being filled up by some processes when the game crashes or throws errors, they are called ReportCrash, spindump and sandboxed
    • killing those processes manually solves the issue and my RAM reaches normal levels again
  • in the last 24hrs I needed to reboot my PC 4x, that is the reason for the ticket.

Note: The steps for reproduction could not be clearly determined. This is not a good bug report. Think of it more as documentation of a problem that is not yet fully understood.

questions

  • is it possible that 0ad is the cause of those processes mentioned above to eat my memory and CPU?
  • is it possible the issue was introduced between 10-18/Jan/23 ?
    • list of commits that touched the library folder
❯ git log HEAD...HEAD~10 --oneline --format="%cd %h %an %s" libraries/
17/Jan/23 f76a92f4d0 Itms Fix and cleanup the SM91 build, fixes #6676.
14/Jan/23 cdfe6cc87e Stan Fix typo noticed by @Itms Refs #6676 Phab:rP27409 Differential Revision: https://code.wildfiregames.com/D4888
14/Jan/23 56690ca834 Stan Fix a bug with Python >= 3.11 where -rU was removed as an open flag. Patch by: @sera Refs #6676 Phab:rP27409 Differential Revision: https://code.wildfiregames.com/D4888
14/Jan/23 255d879edb Stan Fix a case sensitive issue on macOS. macOS usually do not use a case sensitive filesystem, hence why it got unnoticed. Reported by: @Freagarach Refs: Phab:rP27409
12/Jan/23 a9e965f2cb Stan Commit the Spidermonkey tarball, as it puts extra strain on CI, and package manager builds don't have internet. Reported by: @Norse_Harold
10/Jan/23 9513e7eb79 Stan [SM91] Update to Spidermonkey 91.1.3 APIs Fixes: #5986 Patch by: @wraitii Comments by: @nwtour, @Stan
image of ReportCrash process

video of spindump process

Change History (1)

by Langbart, 16 months ago

Attachment: ram.png added
Note: See TracTickets for help on using tickets.