Out of memory

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Out of memory

Post by MSpagni »

Well, nothing new or strange speaking about my memory, but I want to speak about my computer's memory...

I was working on my good old win2000 with a lot of heavy processes in background when EDP started complaining he was out of memory. Quite possible, even though I forgot to look at the task manager to be sure.
I clicked the message box "OK" button, but it kept reappearing. This too is quite normal.

What I wanted to do was to finish or stop some of the other processes, but I found no way to remove the "Out of memory" EDP dialog from my screen. It stayed firmly in the foreground before all the other windows. Very annoying.
As a workaround I put it in a corner (in punishment :-) ) with just a little part of it in the screen.

After closing all the other processes, so I suppose there was then plenty of memory, I went back to it and clicked "ok" once again: as before it kept reappearing.

The story ended when, after I clicked "ok" once again, EDP crashed, so I finally got rid of the "Out of memory" dialog...

N.B. Beta 20 in operation.
Last edited by MSpagni on Mon Mar 29, 2010 6:17 am, edited 1 time in total.
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Update

Post by MSpagni »

In this exact moment I have my friend the "out of memory" dialog in the lower left corner of the screen (once again in punishment ;-) ) and the task manager in the lower right.

The task manager says:
  • allocated memory
  • Total: 299xxx
  • Limit: 936256
  • Peak: 736300
I now click the dialog "ok" button and... crash!

At least the dialog disappeared! :-)
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Out of memory

Post by psguru »

This is an odd problem. It sounds like your installation is corrupt. Could you post your options, or email them to us?
psguru
PrestoSoft
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Out of memory

Post by MSpagni »

Good news: it seems that the latest beta (21) is immune.

Thank you.
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Out of memory

Post by MSpagni »

Sorry, I spoke too early.

What caused the out of memory in beta 20 (comparing a couple of text files then copying a part of a file in the clipboard), in beta 21 doesn't, but I just got the same error while comparing two directories.
The task manager showed more or less the same use of memory as yesterday, with about 14 MB dedicated to EDP.

Each time I clicked "ok", EDP added/refreshed a line in one of the two panels.
When that panel was completely refreshed it started refreshing the other, and when even that was fully refreshed it restarted refreshing the first, then... I killed the process (no crashes). ;-)
MSpagni
Expert Member
Posts: 642
Joined: Mon Mar 30, 2009 12:53 am
Location: Italy

Re: Out of memory

Post by MSpagni »

I suspect it's my computer to blame, not EDP!
Sorry for the annoyance.

The only useful advice we got 'til now from this story is that EDP should use a better way to handle the out of memory condition.
I have to use the task manager to close the process!
User avatar
psguru
Site Admin
Posts: 2396
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Out of memory

Post by psguru »

Build 20 indeed could produce this type of behavior where you'd need to kill the process in such situations. However, other builds should not have required this.
psguru
PrestoSoft
Post Reply