This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP-server with SD-Card -> ERR_MEM_ALLOC

I have created an application with a HTTP-server. The htm-files of the website are located on SD-card and the cgi-file on internal flash. When I open a frame-page (htm-file) with a browser which contains serveral (cgi-files and htm-files), I get a sys_error: ERR_MEM_ALLOC. Opening a single page is not a problem.
This are my settings:
MPool_Size: 8000
TCP_NUMSOCKS: 5
UDP_NUMSOCKS: 5
HTTP_NUMSESS: 3
Using ethernet controller: LPC23_EMAC
Also use TFTP and DHCP enabled.
when increasing sockets and sessions problem still happend but less frequently.
When I put htm-files in internal-flash or when I unplug the ethernet, the problem does not occur.
Increasing the pool size is not an option. Is there a way to limit the amount of memory-allocation or other solution?

0