News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Codeblocks loads long on Celeron-450Mhz

Started by Yury Benesh (aka ybx), August 09, 2006, 02:23:21 PM

Previous topic - Next topic

Yury Benesh (aka ybx)

CB needs a lot of time to start and occupies as much as >30 MB of memory which is quite important on my home Celeron 450MHz + 384 RAM PC.
Is it wxWidgets related issue?

It is not a blame, after it is loaded it works fine.

thomas

It takes about half as much (both startup time and memory) if you don't enable code completion.

If you are desperate about saving memory, disable all plugins.

If you are really desperate, build Code::Blocks yourself, defining NDEBUG and undefining cbDEBUG.

Also, you can patch the sources:
a) disable the resource preloader (found in manager.cpp)
b) do a global search for ": public BlockAllocated" and replace the second template parameter with 1 in all cases.
This may possibly save you around 2-3 MB of RAM total, but will make the application significantly slower, too.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."