mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2006-01-19, 14:07   #1
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

22·3·11·31 Posts
Default PauseWhileRunning & P-1 memory usage

I started playing with PauseWhileRunning and I noticed that it nicely suspends CPU usage, but memory is not freed. Is there some way to make this simulate clicking "stop" and "continue" rather than just pausing the thread? I'd like to use it to free up the ~1.5GB RAM I have allocated to P-1 when I launch some other memory-hogging program (Adobe*, etc).
James Heinrich is offline   Reply With Quote
Old 2006-01-19, 16:08   #2
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

41·199 Posts
Default

The OS should page prime95's memory to disk as necessary. Just make sure your page file is big enough.
Prime95 is offline   Reply With Quote
Old 2006-01-20, 02:01   #3
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

22×3×11×31 Posts
Default

Yes, I realize that, but I'd prefer to have the option of auto-suspending P-1 for several hours when I do something memory-intensive and not page out 1.5+GB If it's not too difficult to add, I'd be grateful. Otherwise I'll live with the current situation as a compromise.
James Heinrich is offline   Reply With Quote
Old 2006-01-20, 13:05   #4
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

769210 Posts
Default

So, what you want is a StopWhileRunningThenContinue command that will cause Prime95 to stop and deallocate its workareas upon detection of the named program, then after that program is no longer running, re-allocate and re-initialize workareas then resume where it left off?

Last fiddled with by cheesehead on 2006-01-20 at 13:07
cheesehead is offline   Reply With Quote
Old 2006-01-20, 13:55   #5
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

22·3·11·31 Posts
Default

Precisely :)
James Heinrich is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
yafu memory usage for ecm Johnatan YAFU 5 2016-06-13 11:28
Large memory usage Unregistered Information & Answers 8 2010-05-14 23:45
Prime95 v25.7 memory usage opyrt Software 1 2008-11-09 08:43
Prime95 Memory Usage jimmyhua Software 7 2005-07-10 07:37
memory usage in P-1 stage 1 James Heinrich Software 5 2005-03-22 20:05

All times are UTC. The time now is 07:41.


Fri Feb 3 07:41:12 UTC 2023 up 169 days, 5:09, 1 user, load averages: 1.08, 1.00, 0.87

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔