User forums > General (but related to Code::Blocks)

Codeblocks loads long on Celeron-450Mhz

(1/1)

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.

Navigation

[0] Message Index

Go to full version