1. too much memory use

Does anyone know why, in the cases that Eu runs off and uses all available 
ram, and then all available swap space, the OS gets buggy with GPF's on all 
apps? This has happened before with Eu, where a running program, for no 
apparent reason, suddenly starts using gobs of memory.

Derek or Xanax/Euman or someone, is there way for Eu to catch memory 
use by itself,, like an API call i can use in my code, so i can trace(1) the 
point it's doing this?, or otherwise start a debug puts(debugfile,whatever)?

Kat

new topic     » topic index » view message » categorize

2. Re: too much memory use

Sorry, Kat. I suspect that there is some Windows API that cater for this but
I don't know them of the top of my head.

Can you address the trigger for this effect instead? Or is that unknown so
far?

----------------
cheers,
Derek Parnell
----- Original Message -----
From: "Kat" <kat at kogeijin.com>
To: "EUforum" <EUforum at topica.com>
Subject: too much memory use


>
> Does anyone know why, in the cases that Eu runs off and uses all available
> ram, and then all available swap space, the OS gets buggy with GPF's on
all
> apps? This has happened before with Eu, where a running program, for no
> apparent reason, suddenly starts using gobs of memory.
>
> Derek or Xanax/Euman or someone, is there way for Eu to catch memory
> use by itself,, like an API call i can use in my code, so i can trace(1)
the
> point it's doing this?, or otherwise start a debug
puts(debugfile,whatever)?
>
> Kat
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: too much memory use

How about:

VOID GlobalMemoryStatus(
    LPMEMORYSTATUS lpBuffer 	// pointer to the memory status structure
   );

typedef struct _MEMORYSTATUS { // mst
    DWORD dwLength;        // sizeof(MEMORYSTATUS)
    DWORD dwMemoryLoad;    // percent of memory in use
    DWORD dwTotalPhys;     // bytes of physical memory
    DWORD dwAvailPhys;     // free physical memory bytes
    DWORD dwTotalPageFile; // bytes of paging file
    DWORD dwAvailPageFile; // free bytes of paging file
    DWORD dwTotalVirtual;  // user bytes of address space
    DWORD dwAvailVirtual;  // free user bytes

} MEMORYSTATUS, *LPMEMORYSTATUS;

new topic     » goto parent     » topic index » view message » categorize

4. Re: too much memory use

On 10 Dec 2002, at 8:09, Derek Parnell wrote:

> 
> Sorry, Kat. I suspect that there is some Windows API that cater for this but I
> don't know them of the top of my head.
> 
> Can you address the trigger for this effect instead? Or is that unknown so
> far?

Still unknown. It works for a period of time, using under 5megs of memory, 
then i hear the hd rattling, and see come back to the keybd to see the 
memory use be 300+megabytes. It must be skyrocketing fast, because 
there is a lot of work done before it goes up.

Kat


> ----------------
> cheers,
> Derek Parnell
> ----- Original Message -----
> From: "Kat" <kat at kogeijin.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Tuesday, December 10, 2002 7:55 AM
> Subject: too much memory use
> 
> 
> > Does anyone know why, in the cases that Eu runs off and uses all available
> > ram, and then all available swap space, the OS gets buggy with GPF's on
> all
> > apps? This has happened before with Eu, where a running program, for no
> > apparent reason, suddenly starts using gobs of memory.
> >
> > Derek or Xanax/Euman or someone, is there way for Eu to catch memory
> > use by itself,, like an API call i can use in my code, so i can trace(1)
> the
> > point it's doing this?, or otherwise start a debug
> puts(debugfile,whatever)?
> >
> > Kat
> >
> >
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

5. Re: too much memory use

Could be that you'll need a program that hooks into your running process
something like Euman used to let Robert Craig know that Euphoria 2.0
(I think that was the version)  wasnt freeing all used ram. The problem
was as Euman remembers it the .dll files werent being released.

I dont have a copy of the program maybe Matt Lewis still has it.
Euman (thinks) he sent him a copy a long time ago.

Xanax

----- Original Message -----
From: "Kat" <kat at kogeijin.com>
To: "EUforum" <EUforum at topica.com>
Sent: Monday, December 09, 2002 3:55 PM
Subject: too much memory use


:
: Does anyone know why, in the cases that Eu runs off and uses all
available
: ram, and then all available swap space, the OS gets buggy with GPF's on
all
: apps? This has happened before with Eu, where a running program, for no
: apparent reason, suddenly starts using gobs of memory.
:
: Derek or Xanax/Euman or someone, is there way for Eu to catch memory
: use by itself,, like an API call i can use in my code, so i can trace(1)
the
: point it's doing this?, or otherwise start a debug
puts(debugfile,whatever)?
:
: Kat
:
:
:
:

new topic     » goto parent     » topic index » view message » categorize

6. Re: too much memory use

>From: xanax at bellsouth.net
>Subject: Re: too much memory use
>
>
>Could be that you'll need a program that hooks into your running process
>something like Euman used to let Robert Craig know that Euphoria 2.0
>(I think that was the version)  wasnt freeing all used ram. The problem
>was as Euman remembers it the .dll files werent being released.

At least, you're a smart (sounding) programmer, I think..... even if you are 
a newbie.

>I dont have a copy of the program maybe Matt Lewis still has it.
>Euman (thinks) he sent him a copy a long time ago.
>
>Xanax
>
>----- Original Message -----
>From: "Kat" <kat at kogeijin.com>
>To: "EUforum" <EUforum at topica.com>
>Sent: Monday, December 09, 2002 3:55 PM
>Subject: too much memory use
>
>
>:
>: Does anyone know why, in the cases that Eu runs off and uses all
>available
>: ram, and then all available swap space, the OS gets buggy with GPF's on
>all
>: apps? This has happened before with Eu, where a running program, for no
>: apparent reason, suddenly starts using gobs of memory.
>:
>: Derek or Xanax/Euman or someone, is there way for Eu to catch memory
>: use by itself,, like an API call i can use in my code, so i can trace(1)
>the
>: point it's doing this?, or otherwise start a debug
>puts(debugfile,whatever)?
>:
>: Kat
>:
>:
>:
>:
>


Euphoria Instant Messenger
Have YOU Joined?
http://groups.yahoo.com/group/euim/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu