Forum Discussion

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

Nios Project Build Error

I am using Nios IDE v9.1 SP1

I got the error display below in every project I created.

make -s all includes

2 [main] ? (4796) c:\altera\91\quartus\bin\cygwin\bin\sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487, base 0x6D0000, top 0x6E0000, reserve_size 61440, allocsize 65536, page_const 4096

1 [main] sh 5596 fork: child -1 - died waiting for longjmp before initialization, retry 0, exit code 0x100, errno 11

/bin/sh: fork: Resource temporarily unavailable

make: *** No rule to make target `/bin/gtf/generated_app.mk.gtf', needed by `/cygdrive/e/designs/sls/i_usb30sr/trunk/soc/syn/test_design/sys_q91_usb30sr_refdes_LinkProtoLayer/software/Test_usb30_enumeration_syslib/Debug/system_description/../obj/generated_app.mk-t'. Stop.

Build completed in 5.374 seconds

Is there thing missing..

Regards

Hardik

2 Replies

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

    It was not answered in the other post. There are no solutions in any other posts!

    This is driving me crazy - is there a definitive fix for this stupid cygwin make error that says there is insufficient heap, even though the standard heap is 256M?

    I moved to Win 7, and have not been able to build anything.

    I am having exactly the same problem. Searching the web, many others are having this problem. There is something wrong with Cygwin under Windows 7, and it needs fixing. I have done these things to no avail:

    1. Made a DW in /HKLM/Software/Cygnus Solutions/Cygwin/heap_chunk_in_mb 1024 (and 2048)

    2. Totally eliminated Logitech quickcam including the services process Monitor or Injector Service from my PC.

    3. Formatted my hard drive, re-installed Win 7, installed just Office 2007, followed by Quartus and Nios IDE.

    4. Tried both Nios IDE 7.2 Sp2 and Nios IDE 11.0 SP1. (I'm trying to maintain a legacy project that has been out there for some years).

    5. Tried to run the IDE in XP, Vista compatability modes.

    6. Tried to run the IDE as an administrator.

    I have no virus checker (eg McAfee or Bit defender - they were got rid of in the reformat). I do not have Sonic, Zonealarm, Kerio or Agnitum.

    I do have ATI catalyst drivers running (necessary for this HP i7 machine).

    I would really appreciate some help, as at the moment I can do no further program maintenance, and Nios is effectively garbage.

    I would love a solution, please!