Max Chang
Max Chang

Reputation: 129

Datalab occasionally very slow on simple tasks

I've noticed that datalab is occasionally extremely slow (to the point where I believe it's just hanging).

import json
import pprint
import subprocess
import pyspark

For instance, on this really trivial code block, the code takes forever to train. If I keep trying to refresh the page and run it, sometimes it works. What can cause this?

Upvotes: 2

Views: 477

Answers (1)

Missaratiskhona
Missaratiskhona

Reputation: 143

Resize your VM or create a new one with a larger memory/CPUs. You can do this by stopping the VM and then editing it in Compute Engine.

Upvotes: 1

Related Questions