0ad/source
Yves 3b49576fa6 Tunes GC scheduling a bit to reduce memory usage.
The main problem was that GC was only called from the simulation before
this patch. This means when you were waiting in the multiplayer lobby or
just had the GUI open, it only called GC when getting close to the JS
runtime size limit (I assume). Another problem was the Net Server
runtime which didn't GC either. Here the runtime size limit is 16 MB
though, so it's not too terrible. These issues have both been addressed
and GC has been given a bit more time per incremental slice to make sure
it gets done in time. It's still far from perfect, but there are too
many changes in SpiderMonkey related to GC, so I don't want to spend too
much time on this yet.

Refs #2808

This was SVN commit r15787.
2014-09-22 20:13:04 +00:00
..
collada Fix VS2013 build errors, warnings 2013-11-03 12:46:07 +00:00
graphics Fix some disabled tests. 2014-08-24 15:29:53 +00:00
gui Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
i18n Fixes a few building warnings and convention issues from 19ca1e3ebf 2014-05-07 23:33:21 +00:00
lib Improves SDL2 support, includes patch by yashi and fabio, refs #2041: 2014-09-20 12:12:35 +00:00
lobby Adds profiles to the multiplayer lobby. Fixes #2504. 2014-09-20 15:35:26 +00:00
maths Optimise silhouette rendering. 2014-07-03 01:00:25 +00:00
mocks More FreeBSD build fixes. 2012-01-30 06:21:11 +00:00
network Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
pch Sacrifices a goat to the gods of insanity. 2014-04-24 20:05:48 +00:00
ps Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
renderer Fixes crash from 41b98a6f12 where a VBChunk* was released but not set to NULL 2014-09-09 04:13:50 +00:00
scriptinterface Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
simulation2 Tunes GC scheduling a bit to reduce memory usage. 2014-09-22 20:13:04 +00:00
soundmanager Fix segmentation fault in the sound destructor. Happened when the sound file doesn't exist. Errors are shown by other code. 2014-06-24 11:07:39 +00:00
third_party Makes tinygettext handle missing plural forms more sanely. 2014-07-05 10:29:24 +00:00
tools Fixes crash in Atlas color picker tool, noticeable with wxWidgets 3.0. Colors returned by wxColourData::GetCustomColour aren't always valid, so we have to test them with IsOk() before accessing them. Fixes #2805 2014-09-21 21:25:51 +00:00
contributors.txt Ticket #2127 - Performance and style improvements in scriptinterface. 2013-09-16 19:10:06 +00:00
main.cpp Improves SDL2 support, includes patch by yashi and fabio, refs #2041: 2014-09-20 12:12:35 +00:00
test_setup.cpp Changes tests to use global g_ScriptRuntime instead of creating a new JSRuntime for each test. 2014-04-25 21:19:51 +00:00