How to parse mem_lim and cpu_lim using options_form in DockerSpawner?

Can you try with this snippet? I m not sure if it works, but config should be something like this.

In your config, you are instantiating an object out of spawner class and calling get_memo() directly on it. You should provide just the class and it is JupyterHub’s responsibility to instantiate spawner object and call the methods properly to parse the options from form before spawning a single user server.