Snappy-conf snappyutil.py error: jvm_max_mem undefined

I also hit this error, and suspected an outdated snappyutil.py so I googled snappyutil.py and found snappyutil.py with jvm-max-mem.
This version has:

 $ grep 'jvm_max_mem' ~/.snap/snap-python/snappy/snappyutil.py
                  jvm_max_mem=None,
 :param jvm_max_mem: The heap size of the JVM.
                         'java_max_mem: %s\n' % jvm_max_mem,
 parser.add_argument('--jvm_max_mem', default='3G', help='size of the Java VM heap space')
                                 jvm_max_mem=args.jvm_max_mem,

I wonder if installing some update when you have an existing ~/.snap/snap-python/snappy directory leaves you with the old version of snappyutil.py.