Build error: memory limit exceeded (NDK 2.7.1)

Topics for the Eclipse Environment
Post Reply
wgriess
Posts: 1
Joined: Wed Dec 09, 2015 12:39 am

Build error: memory limit exceeded (NDK 2.7.1)

Post by wgriess »

I just updated from NDK 2.6.4 to 2.7.1. I additional use SNMP and SSL. All system files could be rebuilt.

Actually, I didn't make any attempt to use the new netburner MOD5441X. However, I am interested, running my projects with MOD5270 first. Though, the target to compile is MOD5270.

I recompiled a library of my own. The size is nearly equivalent to that before (7 bytes difference). Then I recompiled a project. The project is compiled completely. However, linking is aborded due to memory oversize. The size of the S19-file nearly doubles from 1.434 to 2.835 Bytes. Obviously, the first link library is MOD5270.a

What's wrong here?
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Build error: memory limit exceeded (NDK 2.7.1)

Post by rnixon »

Is the build debug or release?

Why update to 2.7.1 when the current release is 2.7.3? Just curious.
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Build error: memory limit exceeded (NDK 2.7.1)

Post by pbreed »

TLS needs a lot bigger stack sizes than SSL.
Do you have a lot of Tasks?
We did a fair bit of work to reduce this usage in 2.7.3 so that should be better.

Was the message from the linker? or from compcode?

Post the message and the output around it...
Post Reply