[Gambas-user] HTTPClient freeze after 40 mins with Gambas 3.18.4
Christof Thalhofer
chrisml at deganius.de
Sat Sep 30 00:20:10 CEST 2023
Am 29.09.23 um 15:06 schrieb Benoît Minisini:
> I asked because I tried a simple loop that does an HttpClient.Get() 8192
> times. It eats a bit of memory if I don't call the event loop, because
> some stuff is freed only during it. But if I call 'Wait' after each
> request, I have no memory leak.
I tried. 'Wait' didn't help. On my VM it crashes after 159 loops.
What does the debugger show on the right side of MIB? The stack size?
This was what i was talking about (it was exactly 8191 when the program
on my main machine crashed, on the VM it is exactly 1022).
> So it may be something related to the URL requested... I tried with
> "localhost".
It calls 'http://degapp/1/eingaenge' where an Apache sits and responses
a Json string.
If the program able to raise an error before it stalls it says:
> * getaddrinfo() thread failed to start
>
> * Couldn't resolve host 'degapp'
> * Closing connection 0
Hmm ...
Alles Gute
Christof Thalhofer
--
Dies ist keine Signatur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230930/1c0d4450/attachment.sig>
More information about the User
mailing list