[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Allocation of length 1416402 from process 43 failed



Check your uclinux .config file for the CONFIG_NO_MMU_LARGE_ALLOC=y

#
# General setup
#
# CONFIG_PCI is not set
# CONFIG_NET is not set
# CONFIG_DISK is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
# CONFIG_SYSVIPC is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_SYSCTL is not set
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_FLAT=y
CONFIG_BINFMT_ZFLAT=y
# CONFIG_CONTIGUOUS_PAGE_ALLOC is not set
# CONFIG_MEM_MAP is not set
CONFIG_NO_MMU_LARGE_ALLOCS=y

Cheers,
Claudio Lanconelli

Zhang Zhong wrote:
Hi,all:
I have compiled a program with a size of only 500k. But when I executed it under uclinux, it failed. And output the following message:

Allocation of length 1416402 from process 43 failed
Free pages:       26376kB (     0kB HighMem)
Zone:DMA freepages: 26376kB
Zone:Normal freepages:     0kB
Zone:HighMem freepages:     0kB
( Active: 189, inactive: 74, free: 6594 )
0*4kB 1*8kB 0*16kB 0*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB
12*2048kB = 26
376kB)
= 0kB)
= 0kB)
Unable to allocate RAM for process text/data, errno 12
./facedetect: program too big
My board is Spartan 3E Starter Kit. I have been troubled by this problem for more than one week. Any help is really appreciated!
--
Zhang Zhong
Email:vxzhong@xxxxxxxxx <mailto:Email:vxzhong@xxxxxxxxx>
zhangzhong@xxxxxxxxxxxxxx <mailto:zhangzhong@xxxxxxxxxxxxxx>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/