[Bug 5657] EVE Online reports VM Size as 0 while on Windows it reports the memory usage (NtQueryInformationProcess ProcessVmCounters info class: actual value for 'PagefileUsage' required)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 27 16:10:30 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=5657

--- Comment #14 from Anastasius Focht <focht at gmx.net> 2013-10-27 16:10:30 CDT ---
Created attachment 46423
  --> http://bugs.winehq.org/attachment.cgi?id=46423
python snippet to query for process memory information

Hello folks,

attached is a small python snippet which queries for process memory information
- similar to EVE Online client.

I copied it from here:
http://stackoverflow.com/questions/11669335/how-to-get-privateusage-memory-value-from-python-on-win7x64

Prerequisite: WINEPREFIX with Python 2.7 for win32

--- snip ---
$ wine "c:\\Python27\\python.exe" memory_info.py
...
{'PageFaultCount': 0L,
 'PagefileUsage': 0L,
 'PeakPagefileUsage': 0L,
 'PeakWorkingSetSize': 0L,
 'PrivateUsage': 0L,
 'QuotaNonPagedPoolUsage': 0L,
 'QuotaPagedPoolUsage': 0L,
 'QuotaPeakNonPagedPoolUsage': 0L,
 'QuotaPeakPagedPoolUsage': 0L,
 'WorkingSetSize': 0L,
 'cb': 40L}
...
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list