RETRO

PC Configurations, motherboards, etc, etc

Moderators: valis, garyb

User avatar
astroman
Posts: 8446
Joined: Fri Feb 08, 2002 4:00 pm
Location: Germany

Post by astroman »

powerhippo wrote::o Unbelievable, it was KONTAKT2 :D :D :D
When I deinstall that Sampler, everythings working fine :) With it, STS problem
" low memory" occur!
the phenomenon is called memory leak and usually associated with bad programming style...
well, what else would you expect from that company... ? :P

Tom :evil:
powerhippo
Posts: 35
Joined: Mon Nov 11, 2002 4:00 pm
Location: Offenburg-Germany

Post by powerhippo »

astroman wrote:
powerhippo wrote::o Unbelievable, it was KONTAKT2 :D :D :D
When I deinstall that Sampler, everythings working fine :) With it, STS problem
" low memory" occur!
the phenomenon is called memory leak and usually associated with bad programming style...
well, what else would you expect from that company... ? :P

Tom :evil:
Hmmmm I have been send e-mail to Native Instrument support and they should give me an answer on this, I hope :-?
powerhippo
Posts: 35
Joined: Mon Nov 11, 2002 4:00 pm
Location: Offenburg-Germany

Post by powerhippo »

I call up one friend of mine told me about this "memory leak" in WinXP SP1
so that I should to download Hot Fix for it!

Anybody have a Link, perhaps :) ???
User avatar
garyb
Moderator
Posts: 23364
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Post by garyb »

install sp2? :)
powerhippo
Posts: 35
Joined: Mon Nov 11, 2002 4:00 pm
Location: Offenburg-Germany

Post by powerhippo »

garyb wrote:install sp2? :)
I will stay on SP1 :) , maybe later, but not now!!!!
Dont have lot of time for that..........working all day long :(
and it is to risky for me to go for an SP2 update :wink: if somethings goes wrong I would kill my self!
User avatar
garyb
Moderator
Posts: 23364
Joined: Sun Apr 15, 2001 4:00 pm
Location: ghetto by the sea

Post by garyb »

well, i don't want to be responsible for disaster, but sp2 and the update have always been fine here, and the fix you want is in sp2. you could make an image of your harddrive before doing the update. really, it won't take much longer than finding the hotfix and applying it, and sp2 is probably about as risky as the hotfix. you could download the redistrutible version of sp2 to another computer and bring it in via usb stick or cd, if you're avoiding the internet...
powerhippo
Posts: 35
Joined: Mon Nov 11, 2002 4:00 pm
Location: Offenburg-Germany

Post by powerhippo »

:) Ok, Thanks, I will do some backups, then go for an SP2!
User avatar
astroman
Posts: 8446
Joined: Fri Feb 08, 2002 4:00 pm
Location: Germany

Post by astroman »

powerhippo wrote:I call up one friend of mine told me about this "memory leak" in WinXP SP1
so that I should to download Hot Fix for it! ...
sorry, you misunderstand it... a 'memory leak' isn't a specific event

when an application is running, it's program routines request memory from the operating system. When a routine is finished, it informs the OS that the formerly requested memory block isn't needed anymore. Which marks the block as free and re-usable.
since a computer program isn't a perfect world, this 'communication' sometimes fails - it may be interrupted, forgotten about, etc.

The result will be an orphaned block of memory, marked as 'in use'. It doesn't even need to be a huge block - just a few bytes is sufficient to make it a 'leak' through which memory vanishes...

for simplicity let's assume a 4MB memory space and a few forgotten blocks of 1k at location 1,2,3 MB. Almost the full 4MB is in available in single(!) bytes (just 3kB are marked as used)
The next request is 2 MB and it will fail because the size doesn't fit anywhere in between the 3 forgotten blocks. :o

there are literally thousands of circumstances und which this 'forgottem memory' situation can happen - it's a major part of any developement to carefully check a program regarding these conditions.
for obvious reasons a very complex and extremely long program is more likely to suffer from this.

the original Mac OS (not OSX!) had extremely powerful memory handling facilities, as memory was short and expensive those days - there even were provisions that were kind of 'self healing' in this context.
Today a Gigabyte isn't a big deal which makes the effect less obvious in some circumstances, like office applications.
The M$ code, in particular in the graphic domain is (said to be) full of such stuff

cheers, Tom
powerhippo
Posts: 35
Joined: Mon Nov 11, 2002 4:00 pm
Location: Offenburg-Germany

Post by powerhippo »

astroman wrote:
powerhippo wrote:I call up one friend of mine told me about this "memory leak" in WinXP SP1
so that I should to download Hot Fix for it! ...
sorry, you misunderstand it... a 'memory leak' isn't a specific event

when an application is running, it's program routines request memory from the operating system. When a routine is finished, it informs the OS that the formerly requested memory block isn't needed anymore. Which marks the block as free and re-usable.
since a computer program isn't a perfect world, this 'communication' sometimes fails - it may be interrupted, forgotten about, etc.

The result will be an orphaned block of memory, marked as 'in use'. It doesn't even need to be a huge block - just a few bytes is sufficient to make it a 'leak' through which memory vanishes...

for simplicity let's assume a 4MB memory space and a few forgotten blocks of 1k at location 1,2,3 MB. Almost the full 4MB is in available in single(!) bytes (just 3kB are marked as used)
The next request is 2 MB and it will fail because the size doesn't fit anywhere in between the 3 forgotten blocks. :o

there are literally thousands of circumstances und which this 'forgottem memory' situation can happen - it's a major part of any developement to carefully check a program regarding these conditions.
for obvious reasons a very complex and extremely long program is more likely to suffer from this.

the original Mac OS (not OSX!) had extremely powerful memory handling facilities, as memory was short and expensive those days - there even were provisions that were kind of 'self healing' in this context.
Today a Gigabyte isn't a big deal which makes the effect less obvious in some circumstances, like office applications.
The M$ code, in particular in the graphic domain is (said to be) full of such stuff

cheers, Tom
:o hey thanks for this man, didn't know it!!!!!!!!!!!!!
Post Reply