1. RE: memory?
- Posted by Bernie Ryan <xotron at localnet.com> Jun 11, 2001
- 363 views
John McAdam wrote: > hi all > > wait a moment please... your program has run out of memory. > > ugh. JOHN: You may be running out of hard drive swap space. Bernie
2. RE: memory?
- Posted by John McAdam <johnmcadam at clix.pt> Jun 13, 2001
- 397 views
>Hi John, Hi Igor >> wait a moment please... your program has run out of memory. >> ugh. >If you run Eu dos32 program in the win window (DOS session), >Windows doesn't allow swapping of your program's code and >data into the system swap-file. Windows swaps only *own* >code and data to release only all RAM for your Eu dos32 >program. So, run dos32 program on plain DOS 7.1 >to use Euphoria's *own* swap-file. Let me see if I understand this: If I run my euphoria program with windows in the background I can't use all my system's memory, just whatever windows allotted my program. To use all my memory I must reboot in msdos mode, no windows. Correct? And I still don't know how much memory I have available using a euphoria dos program under (over) windows. >If you run Eu win32 program, this program use the system >swap-file. If your system swap-file is limited of size, >you may get this message above. I was just writing a euphoria dos program, not a euphoria windows program, so, if I change it into a euphoria windows program I can get to use more of my system's memory. Correct? Unless the swap-file is a limited size. How can I check that? Is this the same thing Bernie was suggesting by "You may be running out of hard drive swap space."? >If you run DJGPP compiler, you must run it on plain DOS 7.1 >and load *own* DJGPP's DPMI server to have swap-file. No, no compiler, just regular interpreted euphoria. >Regards, >Igor Kachan >kinz at peterlink.ru Thanks Igor and Bernie JOHN begin 600 WINMAIL.DAT M>)\^(C8*`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <` M& ```$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$ MD 8`G $```$````1`````P``, (````+``\.``````(!_P\!````0P`````` M``"!*Q^DOJ,0&9UN`-T!#U0"`````$559F]R=6U =&]P:6-A+F-O;0!33510 M`$559F]R=6U =&]P:6-A+F-O;0``'@`", $````%````4TU44 `````>``,P M`0```!,```!%569O<G5M0'1O<&EC82YC;VT```,`%0P!`````P#^#P8````> M``$P`0```!4````G155F;W)U;4!T;W!I8V$N8V]M)P`````"`0LP`0```!@` M``!33510.D551D]254U 5$]024-!+D-/30`#```Y``````L`0#H!`````P!Q M.@`````>`/9?`0```!,```!%569O<G5M0'1O<&EC82YC;VT```(!]U\!```` M0P````````"!*Q^DOJ,0&9UN`-T!#U0"`````$559F]R=6U =&]P:6-A+F-O M;0!33510`$559F]R=6U =&]P:6-A+F-O;0```P#]7P$````#`/]?``````(! M]@\!````! ````````+ 4 at $$@ $`# ```%)%.B!M96UO<GD_`,D#`06 `P`. M````T0<&``H`"@`[`!@```!%`0$@@ ,`# at ```-$'! at `*``H`.@``````+ $! M"8 !`"$```!&0S$U1#<T1#DP1C%#,#$Q0C T039%,CE&-T)&0S=%00!I!P$# MD 8`A <``"$````+``(``0````L`(P```````P`F```````+`"D```````,` M+@```````P`V``````! `#D`X*Q&!Y3QP $>`' ``0````P```!213H@;65M M;W)Y/P`"`7$``0```!8````!P/&4!:KM1:=D78L1U89;J:&H1L0B```>`!X, M`0````4```!33510`````!X`'PP!````$P```&IO:&YM8V%D86U 8VQI>"YP M= ```P`&$!M6KIL#``<0E00``!X`"! !````90```$A)2D](3BQ(24E'3U)7 M04E404U/345.5%!,14%315E/55)04D]'4D%-2$%34E5.3U543T9-14U/4EE5 M1TA)1EE/55)53D551$]3,S)04D]'4D%-24Y42$5724Y724Y$3U<H1$\````` M`@$)$ $```!U! ``<00``)L'``!,6D9U!)H&$3\`"@$#`?<"I 1D`@!P<B)Q M`%!F8V@*P'-E^'0P( A5![("@P^A`^,W#[D'$P* ?0J ",@@.Q$);S(U-1/O M93$REC@"@ J!=@B0=VL+@'1D- Q@8P!0"P,+8&X:9P'0-P+1"\0@/DB :2!* M;VAN+ JB9PJ$"H 9(4EG!; 9JCZ8/B!W"W %0&$@!&!+!X "," +4&5A$! N M>1T`('D(81R0`V )P&',;2 /X 0@<G4#H A@*05 ;V8<(&4$8')Y8BX;-W5G M:!T@&MM)%Q[@'4$>0T4A<&1O<PPS,AV'"X @=&AE'QNP(N$C42(`!^ H1$]7 M!? 0$ 00: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W 0(%9Q.K9.[%*;>[ +$7,DUAJ2($L` MT$=?X1LU%Q%Z0'!\D7*Q5B!N:RX>4!FJ5%_A?FL$('\S*+)L%!FH"S!C$Q%2 M$6(R-!E 3TA.?X0Q,+$#8"IP1\ 9I!,!``&&H ````,`$! !`````P`1$ `` M```#`( 0_____T `!S# U?S4D_' `4 `"## U?S4D_' `0,``( (( 8````` M`, ```````!&`````!"%````````"P`#@ @@!@``````P ```````$8````` M`X4````````#``2 "" &``````# ````````1@````!2A0``\ X``!X`!8 ( M( 8``````, ```````!&`````%2%```!````! ```#@N, `#``: "" &```` M``# ````````1@`````!A0````````L`!X (( 8``````, ```````!&```` M``Z%`````````P`(@ @@!@``````P ```````$8`````$84````````#``F M"" &``````# ````````1@`````8A0```````!X`"H (( 8``````, ````` M``!&`````#:%```!`````0`````````>``N "" &``````# ````````1@`` M```WA0```0````$`````````'@`,@ @@!@``````P ```````$8`````.(4` K``$````!`````````!X`/0`!````!0```%)%.B ``````P`--/TW``#/X(4` ` end
3. RE: memory?
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Jun 13, 2001
- 382 views
> From: John McAdam [mailto:johnmcadam at clix.pt] > I got this error message after processing 86 out of 766 items. <SNIP> > Hate the idea of rewriting everything to process in little chunks > and bits. Storing to files. in and out. slow slow slow. I'm curious as to what these 'items' are. I wrote a program a while back to do a very large dynamic programming problem (something like 1000 variables and with some unusual constraints). I'd first tried to solve it as a knapsack, since that was easy, but it was very slow--and eventually ran out of memory. So I went to DP. Even though it was a lot faster, it ate up a ton of memory, and never got close to a solution. So I changed my tactic. I broke it up into three different DP problems, and combined them using a tabu search. The result was very good solutions very quickly (typically less than a minute), depending on the starting guess I used to initialize the search. It took some time to rewrite the algorithms, but was definitely worth it. Of course, without knowing what sort of processing you're doing, I don't know if there's any way to do something similar, but maybe it will give you some ideas. Or, if you're willing to share some more about what you're doing, we could come up with some other solutions. Matt Lewis