Closed archichen closed 4 years ago
Hi @archichen The reason for the exception is protobuf parser. When you upload a model without explicit contract, manager service tries to parse SavedModel proto message and extract signature information. And I guess the standard Java memory settings wasn't enough for such a model.
You can solve the problem by increasing Java heap size by passing appropriate values to the following environment variables https://github.com/Hydrospheredata/hydro-serving-manager/blob/5fe69ed83f02dd9465542738e4853dc91b264bf2/src/main/docker/start.sh#L25
@KineticCookie Thank you!
Hydro manager container stops running when I upload a model that size about 123M. Hydro manager reports an error
java.lang.OutOfMemoryError: Java heap space
Command:
hs upload --name test --runtime hydrosphere/serving-runtime-tensorflow-1.13.1:2.1.0
Error details:
How should I solve this problem?