Hi lutz,
Im using Linux 9.3.11 and it seems there is a memory leak,
Though I cant find it yet.. ( happens on OpenBSD too.. )
The application boosted from 3K memory to 113 MB within 20 hours..
While its doing nothing..(on Openbsd with 3 hours to 20 Mb)
Ill post you the code if you want to have a look..
my suspicion goes to net-receive-udp and net-send-udp..
But i cant confirm it yet,..
Norman.
memory leak in 9.3.11
memory leak in 9.3.11
-- (define? (Cornflakes))
aaa oke ..good...
I use this when it happens...
(while ...
(set 'data (net-receive-udp 12345 50000 5000000))
(net-send-udp remote 12345 (string "data"))))
)
with this .. it does not happen... controlled net-send-udp
(while ...
(set 'data (net-receive-udp 12345 50000 5000000))
(and (>= (- (apply date-value (now)) timer) 5)
(net-send-udp FOS_REMOTE FOS_AGT_PORT (string "data"))))
)
if you need more hints let me know...
I use this when it happens...
(while ...
(set 'data (net-receive-udp 12345 50000 5000000))
(net-send-udp remote 12345 (string "data"))))
)
with this .. it does not happen... controlled net-send-udp
(while ...
(set 'data (net-receive-udp 12345 50000 5000000))
(and (>= (- (apply date-value (now)) timer) 5)
(net-send-udp FOS_REMOTE FOS_AGT_PORT (string "data"))))
)
if you need more hints let me know...
-- (define? (Cornflakes))