OS/2, eCS & ArcaOS - Technical > Setup & Installation
How to have quantity and quality of memory
David Graser:
--- Quote from: roberto on July 18, 2020, 11:46:04 pm ---I just got this error out in FM / 2 ver 3.24, attached photo. Is this from netlabs? or I don't know who to send the file to.
Pete and Ivan,
but have you tried it, my setup suggestion?
Pete is a **dir** comand, error? in copy paste?
--- End quote ---
Post here.
http://trac.netlabs.org/fm2/wiki
ivan:
Hi roberto,
You still haven't said what you are trying to achieve with these settings. It would also help if you described the computer you are using them on (mboard, CPU, memory etc.).
My swapper.dat file hovers around 2 Mb regardless of what I do.
Since all my java programs are started from program objects I don't have java mentioned in my config.sys.
Andi B.:
May I remind people about the simple utility above512watch.cmd or memmon.cmd or whatever it is called for -
--- Code: ---{0}[p:\util\above512] type above512watch.cmd
/* memmon.cmd - memory monitor */
/* a wrapper for above512 to monitor memory usage */
/* use control+c to stop monitoring */
/* pm = private memory */
/* sm = shared memory */
/* left entries display memory below 512 */
/* right entries display memory above 512 */
out = 0
curline = ""
first_string = ""
call rxFuncAdd "SysLoadFuncs", "REXXUTIL", "SysLoadFuncs"
call SysLoadFuncs
SIGNAL ON HALT /* termine program with CONTROL+C */
"mode 60,75"
do forever
'@ABOVE512 2>nul | rxqueue 2>NUL 1>&2'
call SysSleep 1
do while queued() <> 0
curLine = lineIN( "QUEUE:" )
if out = 0 then do
parse var curLine first_string .
if first_string = "current" then out = 1
else out = 0
end
else do
parse var curline val.1 . val.2 . . . val.3 . val.4 .
say "pm:" val.1 "sm:" val.2 " <---512---> pm:" val.3 "sm:" val.4
out = 0
end
end
end
exit
HALT:
exit
--- End code ---
I think it came with the above512 package but not sure anymore. With this little script it's easy to monitor memory usage without knowing the details of Theseus. I have it running all the time. So I get a feeling about memory consumption of different applications. And I see when memory runs out before it makes my system unstable.
Sample output here while some apps are running -
--- Code: ---pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
--- End code ---
Of course such tools doesn't tell you exact values and you have to keep in mind that memory utilization is much more complex than a simple tool can show you. But as said it's very helpful to get a feeling.
Btw. I don't think reporting an out of memory problem is very helpful. Most of the time this is a problem of this specific system and specific setup and specific use case. Most of the time it's not a fault of a single application. And a lot of applications do not even report such failures but crashes silently or behave in unexpected ways. It's nice that FM/2 gives you the hint that there is something wrong on your system and it can't work as designed. But I'm pretty sure it's not FM/2s fault.
roberto:
--- Quote from: ivan on July 19, 2020, 02:27:41 am ---You still haven't said what you are trying to achieve with these settings. It would also help if you described the computer you are using them on (mboard, CPU, memory etc.).
--- End quote ---
This is what I want to do, that until now I didn't
OS/2 can run more programs and use more data than can actually be stored in memory at any given time. This is done by swapping large amounts of memory to your hard disk and then reading the data back into memory when needed. This is called virtual memory.
--- Quote ---My swapper.dat file hovers around 2 Mb regardless of what I do.
--- End quote ---
You have put the first two lines of the config-sys as is, and have increased the number in the swappath?
--- Quote ---Since all my java programs are started from program objects I don't have java mentioned in my config.sys.
--- End quote ---
Neither do I
roberto:
--- Quote from: Andi B. on July 19, 2020, 11:29:42 am ---I think it came with the above512 package but not sure anymore. With this little script it's easy to monitor memory usage without knowing the details of Theseus. I have it running all the time. So I get a feeling about memory consumption of different applications. And I see when memory runs out before it makes my system unstable.
Sample output here while some apps are running -
--- Code: ---pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
pm: 253056 sm: 156544 <---512---> pm: 1835008 sm: 1542520
--- End code ---
--- End quote ---
This program seems silly to me, look what it shows me:
--- Code: ---pm: 343680 sm: 265600 <---512---> pm: line, sm: /
pm: 343680 sm: 265600 <---512---> pm: line, sm: /
pm: 343680 sm: 265600 <---512---> pm: line, sm: /
pm: 343680 sm: 265600 <---512---> pm: line, sm: /
--- End code ---
And EVERYTHING WORKS INCREDIBLY WELL for me. Except as always little nonsense, like the Seamonkey closes without asking you if you want to close open sales.
You commented days ago that this Atlassian application, I think I remember, ate the memory, after leaving the page open on the computer, leaving home and returning 1 or 2 hours, it appeared like this (attached photo). I had not lost memory, it remained.But their website failed.
For me the important thing is that others can replicate what I see.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version