Forum Discussion
Altera_Forum
Honored Contributor
21 years agoOK. I've got one thing with sense.
I've modified the "stress_threads.c" file, in order to reduce the number of threads of the system. If I reduce the number of threads to 5 MAX_HANDLERS, and one listener and one client, it works OK. BUT if I increase the number of listeners and clients to 4, it sometimes says "Bad byte in chunk". Looking at the code, there is a task that gets a series of memory spaces, fill them with patterns, and later free them checking if the pattern is the same. So the point is that the checking of the patterns is failing. Why? I don't know. If I increase the number of tasks, it hangs. But the fact is that there's enough memory free " Memory system: Total=0x000c5df8 Free=0x000c5bd4 Max=0x000c5bd4 " so I don't understand what's the problem... ¿¿?? Alex