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
| Symptom | Likely 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 background | Memory 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:
- Background Tab Throttling: When a tab is not visible (minimized, behind another window, or not focused), the browser throttles
setTimeout,setInterval, and pausesrequestAnimationFrame. Since games rely onrequestAnimationFramefor smooth 60 FPS rendering, the game will look frozen. - Memory Saver / Tab Discard: Chrome and Edge will automatically sleep or discard inactive tabs to save RAM. The JavaScript execution is completely stopped.
- 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:
- Go to
chrome://settings/performanceoredge://settings/system - Find Memory Saver
- Click Add under "Always keep these sites active"
- Add
https://www.gemtok.live
For Chrome Discards (advanced):
- Open
chrome://discardsin a new tab - Find your GEMTOK tab in the list
- 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.
Recommended Setup for Streamers
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