Hi. I setup a dynamic webserver app on LPC1769. This webserver use ssi/cgi on one page that shtml. If this webpage exceed to 5000 byte, it run unstable and freeze on 2-3 refreshes. If ı decrease webpage size under 5000 bytes , it runs perfectly and ı can refresh as i want. I increese defines on lwipopts.h but it doesnt work. How can ı increase this memory for large websize ?
ı attached my lwipopts.h
I increase these parameters but it didnt affect.
Do you think you can tell us, how you try to access the WEB page of the server, maybe the webpage it is correct but the device has to make another task consuming the memory for the heap, and this may affect the webserver or another interrupt.
Hi Ramazan:
I would suggest you check below optioins
/* TCP sender buffer space (bytes). */
#define TCP_SND_BUF (6*TCP_MSS)
/* TCP receive window. */
#define TCP_WND (2*TCP_MSS)
/* MEM_SIZE: the size of the heap memory. If the application will send
a lot of data that needs to be copied, this should be set high. */
#define MEM_SIZE (22*1024)
Regards
Daniel