I also changed the sketch to another that fill the memory for 23000 bytes compared with previous of 29000.
What does this mean? No Arduino has 29000 bytes of memory for you to fill. Or even 230000.
char clientline[BUFSIZ];
Where is BUFSIZ defined?
You seem to have some fundamental misconception about just how much memory you have available. Until you recognize that the Arduino doesn't have 4Gig of real memory and nearly unlimited amounts of virtual memory, you will continue to have problems.