AnsweredAssumed Answered

"TCP/IP" task, "httpd server" task  run out of memory

Question asked by Nikhil Sarnaik on Jul 31, 2013
Latest reply on Aug 13, 2013 by Martin Latal

Hi guys,

I am running MQX 3.8.1 and the same RTCS stack.

Basically I have multiple tasks initialized using task template (so no dynamic tasks) and a http web server with (HTTPDCFG_DYNAMIC_TASKS    1).

I also have two seperate socket tasks running which are simply listening for incoming socket of different ports.

When I run the code, I am able to connect and communicate to the both sockets simultaneously ... so until here its perfectly fine.

But as soon as I access any of the web pages, The TCP/IP task and httpd server task run out of memory.

Also the web server seems really slow furthermore sometimes it fails to serve the files totally. If the file not served successfully is a javascript (.js) file, then obviously the website does not function properly. Also after this I can access the sockets only one at a time. I have attached some debug snapshots for reference.

Please let me know if anyone else has come across such issue before.

 

Thanks in advance

Nikhil Sarnaik

 

 

 

 

 

PS: Mark have you come across something like this issue before?Mark Dunnett

Outcomes