Mac OS 9 Lives

Mac OS 9 Discussion => Software => Topic started by: IIO on February 26, 2024, 03:38:38 AM

Title: RAM inspection
Post by: IIO on February 26, 2024, 03:38:38 AM
which of the various tools i probably got somewhere let me inspect the RAM, so that i can at least see which applications or documents are loaded by a MacOS9 system itself and how much memory they use?

one of my G4 with a heavy modified system folder requries 580 mb since a while - and no, it is not a broken RAM stick, it is that specific system folder.
Title: Re: RAM inspection
Post by: ssp3 on February 26, 2024, 05:10:28 AM
1. Apple Menu -> About this Macintosh  ;)
2. Memory Mapper (application).

* Sounds like something is leaking memory in your setup.
Title: Re: RAM inspection
Post by: IIO on February 26, 2024, 08:34:51 AM
no leak, it is a constant value and seems to be close to 512 (system occupies 582)

even more strange, it only happens when 2 or 3 memory sticks are installed. with only one, the system only needs what it should.

Title: Re: RAM inspection
Post by: robespierre on February 26, 2024, 10:01:08 AM
You should be able to inspect the system heap with MacsBug; I don't have it to hand so you'll have to find the exact commands, unless someone else knows.

Edit:
should be as simple as
Code: [Select]
> hx -- switch to system heap
> ht -- display heap totals
> hd -- walk the heap displaying all blocks
Title: Re: RAM inspection
Post by: V.Yakob on February 26, 2024, 11:05:07 AM
I recently came across the ProcessInfo (https://macintoshgarden.org/apps/processinfo-131) application.
Title: Re: RAM inspection
Post by: ssp3 on February 26, 2024, 03:14:26 PM
no leak, it is a constant value and seems to be close to 512 (system occupies 582)

even more strange, it only happens when 2 or 3 memory sticks are installed. with only one, the system only needs what it should.

Any chance that you have set Finder or any other application's minimal/preferred memory too high by mistake?

Anyway, Memory Mapper will show you the offender.
Title: Re: RAM inspection
Post by: IIO on February 27, 2024, 04:44:38 AM
i am pretty sure it must something i´ve done myself a few months ago, but it wasnt finder hacking and also not adding new items to the extensions or panels folder or something in that area.

there is a low chance that it has something to do with my only half-working SATA card, but then again it is only with that specific system folder, not with juvenile ones or an older backup.
Title: Re: RAM inspection
Post by: IIO on February 27, 2024, 04:46:11 AM
quicksilver, universal OS, was working for many years before.
Title: Re: RAM inspection
Post by: ovalking on February 27, 2024, 01:34:20 PM
>no leak, it is a constant value and seems to be close to 512 (system occupies 582)

RAM Disk?
Title: Re: RAM inspection
Post by: nanopico on February 28, 2024, 07:36:08 AM
What's the total RAM capacity installed?
Title: Re: RAM inspection
Post by: IIO on February 28, 2024, 08:30:05 AM
3x500.

when 3 are installed, 900 are free (and the rest taken by Mac OS)
when 2 are installed, 400 are free
when 1 is installed, Mac OS only takes what it should*)

2 different machines, 2 different sets of RAM sticks, only a certain system folder.

*) (as if that, what causes it, could not be loaded at all, like in that suggestion about possible automounted RAM disk)
Title: Re: RAM inspection
Post by: IIO on February 28, 2024, 08:32:57 AM
i´ve tried to boot with complete /preferences folder moved out, no difference.

my extensins folder is well organized using label colors and it is the same since more than 10 years.

only new items added were the PARIS drivers. they´re not even inits.
Title: Re: RAM inspection
Post by: IIO on March 25, 2024, 05:35:43 PM
what about an app which can write the RAM content (or most of it) into a file? similar to how OSes do it when going to hibernation?
Title: Re: RAM inspection
Post by: ssp3 on March 25, 2024, 07:21:55 PM
What does the "Memory Mapper" application show? Have you tried it?
https://macintoshgarden.org/apps/memory-mapper-15

(https://macintoshgarden.org/sites/macintoshgarden.org/files/screenshots/Memory_Mapper_1.5_1.jpg)
Title: Re: RAM inspection
Post by: IIO on April 02, 2024, 02:34:51 PM
What does the "Memory Mapper" application show?

all of the these utilties show used memory by process.

it would help me to find out that the finder needs 600 mb RAM because the finder needs 600 mb RAM. which is close to meaningless.

i have yet to fullfill my duty to use macsbug as proposed weeks ago, this will probably show a bit more.
Title: Re: RAM inspection
Post by: ssp3 on April 02, 2024, 02:55:01 PM
Replace the damn Finder with the fresh copy!