Support > General Discussions
Linux Virtual Machine
(1/1)
Script_test:
Hi, I have random problems with the curl library under windows, the last one (out of memory).
As I see in the comments, under linux everything seems to work fine. I have no experience in configuring linux.
You could share (download)a virtual machine with everything configured to be able Working and tests with scriptbasic. ?
Thank you very much.
Support:
Are you using the latest Inno based Windows install curl module?
Out of memory is a catch all error in extension modules as the developers didn't take the time to describe the actual error properly. I'm slowly rewriting the distributed extension modules in C BASIC for readability, updating libraries and cleanup. Most all of the extension modules I've done are in C BASIC.
Script_test:
I've already located the bug. Was not in the curl library
I was in the use of variables and arrays with the same name.
So far everything worked correctly but when the program repeated many times the process .... failed due to lack of memory.
Example: (My program has more than 7k lines...)
Static_value [f] = random_value
Static_value = 3
^^ ---- Execution worked four times... and then (out of memory)
Solved renamed
Static_value [f] = random_value
my_Static_value = 3
Ty ;D
Support:
Glad to hear you figured out what the problem was. Script BASIC variables being typeless until use can trip you up if not careful.
Navigation
[0] Message Index
Go to full version