Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

How can I increase the user memory ?

hi all:

My nios2 board use 16m sdram. but I check the free memory with command "free",I find the total memory = 8796.

# free

total used free shared buffers

Mem: 8796 3072 5724 0 8

Why the user memory so small?

How can I increase the user memory if I do not increase the SDRM capability?

Can I modify kenerl source code or "menuconfig kernel" to increase the user meomory?

Thank a lot!

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    are you sure that your sdram is 16M?

    check the datasheet of your sdram maybe that is 16MBit.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Are you using busybox for shell and services? They will take up a lot of memory when the busybox gets bigger..

    You may try the later uClinux-dist approach with SASH and standalone services.