allocate-memory.html 195 B

123456789101112
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. </head>
  5. <body>
  6. <script>
  7. window.bigBuffer = new Uint8Array(1024 * 1024 * 64)
  8. window.bigBuffer.fill(5, 50, 1024 * 1024)
  9. </script>
  10. </body>
  11. </html>