| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0004026 | Spring engine | General | public | 2013-10-05 23:50 | 2013-10-06 02:21 | ||||
| Reporter | silentwings | ||||||||
| Assigned To | Kloot | ||||||||
| Priority | high | Severity | block | Reproducibility | always | ||||
| Status | closed | Resolution | duplicate | ||||||
| Product Version | 94.1.1+git | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004026: memory leak! | ||||||||
| Description | Something changed in between -1228 and -1230 that causes a memory leak, at least when loaded with the ba-svn. In -1228 and earlier, starting a game with a lone com & no movement, memory used by lua stays constant at ~6mb. With -1230 and later, the same test has lua mem increasing at about 4mb per sec. | ||||||||
| Steps To Reproduce | Run -1230 or later, use latest ba svn or ba-test (it now has all updates for 95 in it). Type /debug and watch lua mem. Repeat with -1228. | ||||||||
| Additional Information | Using /debug and then disabling luaui/luarules we worked out that the leak is related to something within luarules. The memory leaks independently of whether units are built/moved/etc. I'm on win7, the same issue reproduced for another win user. | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |
| ||||||||
Notes |
|
|
Kloot (developer) 2013-10-05 23:54 Last edited: 2013-10-05 23:54 |
probably Lua garbage collection is messed up due to 0003845 |
|
silentwings (reporter) 2013-10-05 23:56 |
That would fit - we tried narrowing it down to which gadget and discovered that less gadgets meant less mem leaks but no single gadget had a big effect. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-10-05 23:50 | silentwings | New Issue | |
| 2013-10-05 23:54 | Kloot | Note Added: 0011687 | |
| 2013-10-05 23:54 | Kloot | Note Edited: 0011687 | View Revisions |
| 2013-10-05 23:56 | silentwings | Note Added: 0011688 | |
| 2013-10-06 00:07 | Kloot | Relationship added | related to 0003845 |
| 2013-10-06 02:21 | Kloot | Status | new => closed |
| 2013-10-06 02:21 | Kloot | Assigned To | => Kloot |
| 2013-10-06 02:21 | Kloot | Resolution | open => duplicate |


