try use "libproc" to access info in /proc fs.

On Jan 16, 2008 11:28 PM, An N. Ho <[EMAIL PROTECTED]> wrote:

>  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
>



-- 
Regards,
+
---------------------------------------------------------------------------------+
Jorge Pereira, From: Olinda/Pe/Brazil
Home:  http://www.jorgepereira.com.br/
E-mail:  [EMAIL PROTECTED], [EMAIL PROTECTED]
Mobile: +55 (81) 8833-2484
My Public Key: http://www.jorgepereira.com.br/public.pgp
+
---------------------------------------------------------------------------------+
   "Se você ama alguma coisa, liberte-a;
  Se ela não voltar a ti, cace-a e mate-a."
+----------------------------------------------------------------------------------+
_______________________________________________
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