High Usage of RAM by wxPython's GUI and need some advice to reduce it

Posted by user67024 on Programmers See other posts from Programmers or by user67024
Published on 2012-06-20T07:18:28Z Indexed on 2012/06/20 9:24 UTC
Read the original article Hit count: 298

Filed under:
|
|
|
|

I've recently developed a GUI in wxPython for windows platform. It contains a five tabs, 4 of them are just richTextCtrl boxes and the other one has controls for uploading files, buttons, textctrls, a slider etc.. As I was new to GUI development in Python, I used wxFormBuilder to generate some of the code using a good amount of sizers.

So, now the problem is that the GUI starts off with a initial memory of around 40MB which is too much for such a simple application (Or so I think) . Also, when the functions handling the functions use huge lists as the program is for debugging large data logs and identifying the problems in'em implying that I can't afford memory for GUI.

So, how can I reduce that start working memory size? Is it a general issue in wxPython? And currently trying use profilers but not sure if it's going to help.

© Programmers or respective owner

Related posts about python

Related posts about Performance