DSPRelated.com
Forums

Calloc failed for handle

Started by prabhakar_dsp1 July 25, 2005
Hello Experts,

Iam using CCS DM642 functional Device Simulator for my H264 deocder.
My code size is about 800KB. I could able to load the code properly.
When I am running the code, I am getting a message calloc failed for
handle.
I checked with my cmd file and also increased the -heap and -stack
size.

The cmd file is as follows.

-heap 0x10000
-stack 0x1000

-m proj.map MEMORY
{

BMEM: o01h lFFFFFFEh
}

SECTIONS
{
.intvecs > BMEM
.text > BMEM
.cio > BMEM
.bss > BMEM
.sysmem > BMEM
.stack > BMEM
.cinit > BMEM
.data > BMEM
.far > BMEM
.switch > BMEM .pinit > BMEM
.const > BMEM
}

Please anyone has any idea about my problem. I appreciate the quick
replay.

Thanks in advance.
prabhakar


Maybe look up the specific error number that the calloc is returning.

Robert

www.gldsp.com

> -----Original Message-----
> From: c6x@c6x@... [mailto:c6x@c6x@...] On Behalf Of
> prabhakar_dsp1
> Sent: Sunday, July 24, 2005 11:33 PM
> To: c6x@c6x@...
> Subject: [c6x] Calloc failed for handle
>
> Hello Experts,
>
> Iam using CCS DM642 functional Device Simulator for my H264 deocder.
> My code size is about 800KB. I could able to load the code properly.
> When I am running the code, I am getting a message calloc failed for
> handle.
> I checked with my cmd file and also increased the -heap and -stack
> size.
>
> The cmd file is as follows.
>
> -heap 0x10000
> -stack 0x1000
>
> -m proj.map > MEMORY
> {
>
> BMEM: o01h lFFFFFFEh
> }
>
> SECTIONS
> {
> .intvecs > BMEM
> .text > BMEM
> .cio > BMEM
> .bss > BMEM
> .sysmem > BMEM
> .stack > BMEM
> .cinit > BMEM
> .data > BMEM
> .far > BMEM
> .switch > BMEM > .pinit > BMEM
> .const > BMEM
> }
>
> Please anyone has any idea about my problem. I appreciate the quick
> replay.
>
> Thanks in advance.
> prabhakar >
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 7/22/2005
>

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.4/57 - Release Date: 7/22/2005