windows ok, improve package memory usage