>
New Topic
>
Reply<
Esato Forum Index
>
Sony Ericsson / Sony >
Symbian phones
> Memory Leak
Bookmark topic
Can somebody explain this to me? I don't see bit of memory all over my clothes or trouser pocket so what happens to it?
--
Posted: 2007-01-16 11:35:02
Edit :
Quote
hey man can you explain detailed?
i don't get it
--
Posted: 2007-01-16 11:39:49
Edit :
Quote
Really roughly:
You start a task; this produces processes, and the processes produce threads. Many threads(individual 'calculations') can be needed by a process to complete normally, and a task can require multiple processes to execute correctly. So that's the basic hierarchy for a task(can be complex, as you can see), this is also why tasks take up more memory than SwissManager(for example) shows.
Memory 'leaks' when a task is exited(or killed, e.g: by SwissManager) 'uncleanly'; basically, the task cannot(for various reasons) control the clean exit of it's processes, and their respective threads, and these get left in the system.......of course they all take their little chuck of memory, and as a particular thread may never get accessed again, that memory is lost.......
In UNIX, when system building, with Root(superuser) authority, we could keep this under control; task management on UIQ phones with NO authoriy/commmand line access, however, is virtually impossible......which is why it's down to SE to sort it out.........
If you want to investigate more, get a copy of Space2's
Procinfo app, you'll see just how busy(task/process/thread-wise) your phone is, and why the leaks can be so bad! Oo, and I hope this makes some sense(if anyone wants to elaborate, please be my guest)!!!
_________________
K800 + W900 + more = SO903i - The whole world needs
Premium AV!
[ This Message was edited by: Aware on 2007-01-16 11:06 ]
--
Posted: 2007-01-16 11:54:30
Edit :
Quote
Aware. Top post. Thanks a lot. Nice clear reasoning for those with less understanding.... well it made sense to me.
--
Posted: 2007-01-16 11:57:56
Edit :
Quote
No probs, Guy!
And trust me, as a UNIX administrator for nearly a decade now, I really am stunned how SE let an OS with this big a problem into production, let alone into a retail market! I'm really hoping they can sort it out(sooner, rather than later), I'm sure they're aware how much it(and other problems) cost them since the P990 was released.....
Unfortunately, we can only keep our fingers crossed!
--
Posted: 2007-01-16 12:05:36
Edit :
Quote
http://en.wikipedia.org/wiki/Memory_leak
--
Posted: 2007-01-16 12:16:31
Edit :
Quote
I've been out of touch for a while now, I'm getting the gist that the p990 has its fair share of problems....
Anyone see a pattern emerging? Exploding laptop batteries and lack of blue diodes for the PS3 that is going to arrive a year late over here in the UK
Aside from that, what about that program they sneakily put on their music cd's to check what people got up to, and then some buggers thought they'd use it as a trojan...?
What are Sony playing at?
--
Posted: 2007-01-16 19:49:48
Edit :
Quote
would there be any memory leaks if there were no programs executed? did anybody let their phone for like 2 days without touching it? does the phone leaks memory?
what I mean is that it might be the applications fault, not the OS, in case these do not release the blocks of memory, even though they have been exited from their own menus?!
What can the OS do when it still sees an "active" program taking up memory? And yes, this is not a memory leak per se, it's just bad programming.
I say it's a combo between the OS and application.
But I agree, most of the fault falls on the OS
--
Posted: 2007-01-17 16:47:06
Edit :
Quote
New Topic
Reply