AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Run AHK scripts with less (half or even less) memory usage
Goto page Previous  1, 2
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
entropic



Joined: 21 Dec 2008
Posts: 181

PostPosted: Wed Mar 03, 2010 2:33 am    Post subject: Reply with quote

You can set the function to a hotkey and call it many times.

The thing is you want to use as much RAM as possible, RAM you aren't using is being wasted. Data gets loaded to RAM to speed up access to it, if it isn't in RAM it is loaded from the disk which is far far slower.

More info on memory:
http://www.acm.org/crossroads/xrds5-3/pmgap.html
Back to top
View user's profile Send private message
Raule
Guest





PostPosted: Wed Mar 03, 2010 8:02 am    Post subject: Reply with quote

entropic wrote:
You can set the function to a hotkey and call it many times.

The thing is you want to use as much RAM as possible, RAM you aren't using is being wasted. Data gets loaded to RAM to speed up access to it, if it isn't in RAM it is loaded from the disk which is far far slower.

More info on memory:
http://www.acm.org/crossroads/xrds5-3/pmgap.html


I thought less would be best.
If its not in ram, then does it make harder to hack ?
Back to top
Raule
Guest





PostPosted: Thu Apr 22, 2010 12:32 pm    Post subject: Reply with quote

anyone had any issues with Windows 7 ??
Back to top
stevel



Joined: 12 Oct 2010
Posts: 132

PostPosted: Tue Jan 11, 2011 3:01 am    Post subject: Reply with quote

There is a free program, Minimem, that appears to use the same technique to automatically lower memory usage on a per application basis (along with other bells and whistles): http://main.kerkia.com/Tools/Minimem/Download.aspx
Back to top
View user's profile Send private message
nimda



Joined: 26 Dec 2010
Posts: 3862
Location: Awesometown, USA

PostPosted: Thu Feb 24, 2011 5:30 pm    Post subject: Great! Reply with quote

Wow, that's impressive. Managed to reduce Chrome's memory usage by about 90k
_________________
Spam. Autoclick. Rapidfire.Window Control ToolsLicense
Back to top
View user's profile Send private message
grannyGrump



Joined: 13 Sep 2010
Posts: 51
Location: rock>8<hardplace

PostPosted: Mon Feb 28, 2011 8:30 am    Post subject: Reply with quote

I'm curious though. Does the *Allocated* memory stay the same, even though the "active" RAM is reduced?

I don't actually understand how allocated memory works, but I do see in Task Manager that using FreeMem reduces MemUsage very drastically, but the Virtual Memory stays the same.
For example, Mem Usage might drop from 8 mb down to 700 kb, but the VM Size stays at 8 ~ 9 mb.

Can other apps use that Virtual Memory, or is it locked to the specific app?

Any clarification or ideas about how to interpret the different memory usage readings????

Thanks.
_________________
Antique Newbie
Back to top
View user's profile Send private message
tain



Joined: 16 Feb 2010
Posts: 55

PostPosted: Mon May 30, 2011 11:18 am    Post subject: Reply with quote

Perhaps we could use a discussion of how this differs from VarSetCapacity() ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group