GEMTOK Docs
Troubleshooting

Game Paused (Stuck / Lag)

Why GEMTOK games freeze, lag, or pause when tab is minimized and how to fix it

GEMTOK games run directly in your browser using complex JavaScript, Canvas, and WebGL. If your computer runs out of resources or the browser decides to save power, the game can lag, freeze, or appear paused.

There are 2 main root causes. Check which one matches your case.

How to Identify Your Issue

SymptomLikely Cause
Game pauses when you minimize browser, switch tab, or click OBS. Resumes when you go back to GEMTOK tab.Browser Background Throttling
Game is choppy, freezes for seconds, shows "Page Unresponsive", or lags even when tab is active and focused.High Resource Usage
Game stops after 5-10 minutes in backgroundMemory Saver / Auto-Discard

Cause 1: Browser Pauses JavaScript in Background Tabs

This is the most common cause and is normal browser behavior, not a bug.

Modern browsers (Chrome, Edge, Firefox, Safari) aggressively optimize battery and CPU:

  1. Background Tab Throttling: When a tab is not visible (minimized, behind another window, or not focused), the browser throttles setTimeout, setInterval, and pauses requestAnimationFrame. Since games rely on requestAnimationFrame for smooth 60 FPS rendering, the game will look frozen.
  2. Memory Saver / Tab Discard: Chrome and Edge will automatically sleep or discard inactive tabs to save RAM. The JavaScript execution is completely stopped.
  3. Energy Saver / Battery Saver: When enabled, the browser limits background activity even more.

This is why your game works perfectly when you are looking at it, but pauses as soon as you switch to OBS Studio or TikTok Live Studio.

How to Fix Background Pause

Keep GEMTOK in a Separate Visible Window

Don't put GEMTOK in the same window as other tabs. Pop it out to its own window and keep it visible on screen. Best setup: 2 monitors - one for OBS, one for GEMTOK. If you have 1 monitor, keep GEMTOK window side-by-side with OBS, not minimized behind it.

Disable Memory Saver for GEMTOK

For Chrome / Edge:

  1. Go to chrome://settings/performance or edge://settings/system
  2. Find Memory Saver
  3. Click Add under "Always keep these sites active"
  4. Add https://www.gemtok.live

For Chrome Discards (advanced):

  1. Open chrome://discards in a new tab
  2. Find your GEMTOK tab in the list
  3. Click Toggle in the "Auto Discardable" column to disable it (shows ❌)

Disable Energy Saver / Battery Saver

Chrome: chrome://settings/performance > Turn off Energy Saver or set it to only turn on when battery is low. Edge: edge://settings/system > Turn off Efficiency Mode. Windows: Settings > System > Power > Set Power Mode to Best Performance when plugged in.

Keep Browser Running in Background

Chrome: Settings > System > Enable Continue running background apps when Chrome is closed. This prevents Chrome from fully suspending when you click outside.


Cause 2: Computer Resource Exhaustion (Lag / Stuck)

GEMTOK games are not simple web pages. They use complex JavaScript physics, particle effects, real-time animations, and WebGL rendering. If your CPU, GPU, or RAM hits 100%, the browser cannot keep up.

Common triggers:

  • Too many Chrome tabs open (each tab uses 200-500MB RAM)
  • OBS Studio + TikTok Live Studio + Chrome + Game running at same time
  • Low-end PC / Laptop with 4-8GB RAM or no dedicated GPU
  • Other heavy apps: Premiere, Photoshop, Valorant, etc.
  • Too many active overlays, triggers, and games at once in GEMTOK

How to Fix Lag / High Resource Usage

Check Task Manager

Press Ctrl + Shift + Esc > Check CPU, Memory, GPU usage. If any is above 85-90% constantly, that's your bottleneck. Sort by CPU/Memory and close unnecessary apps. Chrome Task Manager: Press Shift + Esc inside Chrome to see which tab uses most resources.

Close Unnecessary Tabs and Apps

Close all tabs except GEMTOK. Close Discord, Spotify, extra browser windows while streaming. Each closed tab can free 300MB+ RAM.

Enable Hardware Acceleration

Chrome: Settings > System > Enable Use hardware acceleration when available > Restart Chrome. This lets the browser use your GPU for game rendering instead of only CPU. Make sure your GPU drivers are up to date.

Reduce Load Inside GEMTOK

  • Don't open 5 games at once. Run 1-2 active games.
  • In Stream Studio, close the preview if you don't need it.
  • Reduce number of active overlays and high-frequency triggers.
  • Lower OBS canvas resolution from 1080p to 720p if your PC is struggling.

Use a Dedicated Browser Profile

Create a new Chrome profile just for streaming: Chrome > Profile icon > Add > Name it "Streaming". Install no extensions there. This prevents ad-blockers and extensions from eating CPU.

Restart Browser and PC Regularly

Browsers leak memory over time. Restart Chrome and your PC before a long live stream. This clears RAM and fixes many "Page Unresponsive" errors.


For the smoothest experience, use this setup:

  • Use OBS Studio Browser Source for overlays - it runs independently
  • Keep PC plugged in, Power Mode: Best Performance
  • 16GB RAM recommended, 8GB minimum
  • Close everything except OBS + GEMTOK + TikTok Live Studio

Still Not Fixed?


On this page