MemoryInfo

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: MemoryInfo v0.1

16 Feb 2015, 02:17

immorrr wrote:[....]
Error: 0x8001010D = An outgoing call cannot be made since the application is dispatching an input-synchronous call
[...]
I never got this error...
boiler wrote:
jNizM wrote:

Code: Select all

Used:
Green --> Yellow --> Orange --> Red
0-19% --> 20-39% --> 40-69% --> 70-100%

Free:
Red   --> Orange --> Yellow --> Green
0-30% --> 31-50% --> 51-80% --> 81-100%
Mine is 55% free and 45% used, yet both bars are green. :?:
This one is old. See below.
boiler wrote:Your code looks like it uses the same criteria for both bars. Perhaps a copy/paste and didn't finish editing? Also, it looks like there are no breaks below 70%.
Will update soon...

Edit:
- Updated to v0.2
if (free < 70) {green} else if (free < 80) {yellow/orange} else {red}
- Updated Post #2
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
boiler
Posts: 17404
Joined: 21 Dec 2014, 02:44

Re: MemoryInfo v0.2

16 Feb 2015, 06:42

It seems that even though my memory shows 45% used and 55% free, I could be critically low on free memory. I have 8GB total, but only 4GB is usable by 32-bit applications. Could it be possible that I'm using almost all of the first 4GB of memory, leaving very little left for 32-bit applications yet still be showing over 50% free overall?

Is it possible to indicate the amount of memory available to 32-bit applications separately to really understand the memory situation?
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: MemoryInfo v0.2

16 Feb 2015, 06:52

Windows Version and System Type?
e.g. Windows 7 Professional - SP1 - x64

2 Interesting Links from HTG (How-To Geek)
- What’s the Difference Between 32-bit and 64-bit Windows?
- Hardware Upgrade: Why Windows Can’t See All Your RAM
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
boiler
Posts: 17404
Joined: 21 Dec 2014, 02:44

Re: MemoryInfo v0.2

16 Feb 2015, 07:17

Thanks for the links. I know that my computer and OS are 64-bit. I was asking if your script could identify how much of the 32-bit addressable memory is being used. A significant number of my installed programs are 32-bit, so they're not able to use all of the memory identified as free by your script.
User avatar
boiler
Posts: 17404
Joined: 21 Dec 2014, 02:44

Re: MemoryInfo v0.2

16 Feb 2015, 07:29

Are you saying that my 64-bit Windows OS will allow even 32-bit applications to use all of my available memory?
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: MemoryInfo v0.2

16 Feb 2015, 07:54

My Script use the GlobalMemoryStatusEx Function with the MEMORYSTATUSEX structure
Retrieves information about the system's current usage of both physical and virtual memory. ==> So no.

Another interesting Links:
- Memory Limits for Windows and Windows Server Releases
- Running 32-bit Applications

These tools are more helpful for you:
- RAMMap v1.32 by Mark Russinovich and Bryce Cogswell (Sysinternals Tools)
- VMMap v3.12 by Mark Russinovich and Bryce Cogswell (Sysinternals Tools)
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
boiler
Posts: 17404
Joined: 21 Dec 2014, 02:44

Re: MemoryInfo v0.2

16 Feb 2015, 09:55

Thanks for the links. Interesting stuff.
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: MemoryInfo

26 Apr 2017, 07:57

Update:
Rewritten
Added Taskbar Progress
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
User avatar
joedf
Posts: 9000
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: MemoryInfo

10 May 2017, 10:48

You should add a SetTimer+checkbox to auto-clear every so often :+1:
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 239 guests