Hi All !

I program on uClinux , I have some issues about memory (because uClinux
donn't have MMC so the system usually hang or loss memory). So I have
some question about uClinux in order to solve that issues.
1. Command cat /procs/mem_map printf all of the information memory
included : heap, stack or only heap region (When I allocation a pointer
I can see the change of this command).
2. When I declared a variable in function or class. Do you know where it
is allocated ? Heap or stack region. How to know the size of this region
? Because when I declared a global variable I can see the chage when
running cat /procs/mem_map , but the variable in function or class I
cann't see it so I donn't know the limit (Because sometime If I declared
so much variable in class -> system hang)
3. When programming on uClinux the fragment usually happen. Would you
give experience to reduce it ?

Thank in advance !

An Ho

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to