Hello Vishwas,
thank you for your quick reply and revised code!
I will test it and update you
Regards Marco
You can test this “memory leak” with the HTML code and this “sample” PHP
file: data.php
<?php $data_points = array(); for ($i = 1; $i <= 10; $i++) { $timestamp = time() -($i*60)."000"; $random = rand(20, 30); $point = array("x" => $timestamp, "y" => $random); array_push($data_points, $point); } echo json_encode($data_points, JSON_NUMERIC_CHECK); ?>
Where am I doing wrong? I’m interested in buying the license if it works
Same result with only one funcion [ prod01(); ] Setting hi-speed refresh [ setTimeout(prod02, 100); ] the crash happens within a few minutes