Welcome, Guest. Please login or register.

Author Topic: Lost memory?  (Read 2118 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline AmidufferTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 1601
    • Show all replies
    • http://www.geocities.com/laverdiereaf/
Lost memory?
« on: June 17, 2009, 10:21:19 PM »
I really wasn't sure whether this was a software or hardware issue, but, what the heck, I hope someone can answer this nagging question.

After I quit a program, it seems that I'll have lost a meg or two of fast ram memory which I won't get back until I reboot. This becomes an annoyance if I'm running ImageFX in particular, since it seems to need as much as possible for some processes, and with just 8 megs, it runs out quick. How can you get all your memory back after you quit a program? I vaguely recall there are programs available on Aminet, but which ones act to find your lost memory?
Amiga 3000D UP and running! Hear that clicking. 8)
Amiga 3000D & 4000D in storage sadly.
 

Offline AmidufferTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 1601
    • Show all replies
    • http://www.geocities.com/laverdiereaf/
Re: Lost memory?
« Reply #1 on: June 18, 2009, 04:45:39 AM »
Quote from: Karlos;511896
I take it "avail flush" doesn't work?

Memory isn't lost per se, but it can be leaked. A buggy bit of code may allocate some memory and then forget to release it. All current versions of the standard C/C++ library track all allocations through  the malloc() / new and will release it on exit. However, if an application is using exec AllocMem() directly and doesn't free it, it can be "lost" from the system after application exit


I think I tried Avail Flush in shell, and just got an error.
Amiga 3000D UP and running! Hear that clicking. 8)
Amiga 3000D & 4000D in storage sadly.
 

Offline AmidufferTopic starter

  • Hero Member
  • *****
  • Join Date: Sep 2005
  • Posts: 1601
    • Show all replies
    • http://www.geocities.com/laverdiereaf/
Re: Lost memory?
« Reply #2 on: June 18, 2009, 07:24:02 PM »
That doesn't sound very nice. Is that all that is required? Just typing AVAIL FLUSH in a shell? I better try again just to be sure.
Amiga 3000D UP and running! Hear that clicking. 8)
Amiga 3000D & 4000D in storage sadly.