Forum Replies Created by smarco

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Chrome crash "Render process gone" #25156

    Hello Vishwas,

    thank you for your quick reply and revised code!

    I will test it and update you

    Regards
    Marco

    • This reply was modified 4 years, 11 months ago by smarco.
    in reply to: Chrome crash "Render process gone" #25146

    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

    in reply to: Chrome crash "Render process gone" #25139

    Same result with only one funcion [ prod01(); ]
    Setting hi-speed refresh [ setTimeout(prod02, 100); ] the crash happens within a few minutes

Viewing 3 posts - 1 through 3 (of 3 total)