Analysis on wxpythonpyqt memory usage

Source: Internet
Author: User
I have always thought that wxpython occupies a lot of memory. some small program applications written at work, a pair of other small programs, found that the memory difference is indeed a little large and I always thought that wxpython occupies a lot of memory, some small program applications written at work, a pair of other small programs, found that the memory difference is indeed a little large.

Tested the QT framework.

The code is as follows:


Import sys, time
From PyQt4 import QtCore, QtGui
# Import wx
If _ name _ = "_ main __":
While True:
Time. sleep (1)

When only the framework is loaded, the memory usage is significantly different.
Generally, the load of wx is around 20 MB, and I write a few applications, so the main memory usage is the framework, and the actual usage of the program is about a few MB.
The loading of pyqt is about 9 m, and no tests have been performed in the specific application.
It seems that we can still try to develop the QT framework in the future, and there is also a Designer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.