Commit cd19a0e3 authored by neop's avatar neop
Browse files

try to fix occasional oom conditions

parent 9c4867a9
......@@ -18,7 +18,7 @@ FROM docker.io/library/eclipse-temurin:17
RUN apt update && apt install -y tar zstd
WORKDIR /sensor2graph
RUN chmod -R o+w .
ENTRYPOINT ["bash", "-c", "umask 0007 && java -Xmx4g -Djava.util.logging.config.file=logging.properties -jar sensor2graph.jar"]
ENTRYPOINT ["bash", "-c", "umask 0007 && java -Xmx3g -Djava.util.logging.config.file=logging.properties -jar sensor2graph.jar"]
RUN mkdir logs
COPY --from=compile /sensor2graph/build/libs/sensor2graph.jar /sensor2graph/
COPY --from=compile /sensor2graph/config/logging.properties /sensor2graph/config/sensor2graph.properties /sensor2graph/config/sensor_type_info.json /sensor2graph/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment