Comments (3)
hi @nighto ,
based on the link you are running it with jre8, the flags are there because of the assumption was that is running with jre 11.
could you try please running it without the flags?
java -jar gps-overlay-on-video.jar
from gps-overlay-on-video.
On Windows 11, with the same JRE 32-bit (jre-8u401-windows-i586.exe) as @nighto, tested with telemetry-on-video v1.2.12 and telemetry-on-video v1.2.9, it runs fine for me (cmd below).
C:\Users\ronan\Downloads>java -jar gps-overlay-on-video.jar
SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See https://www.slf4j.org/codes.html#noProviders for further details.
Executed analyze GPS data in 11 millis
Executed load telemetry in 154 millis
Executed load sample gps data in 156 millis
Executed analyze GPS data in 23 millis
Executed load telemetry in 56 millis
Executed load sample gps data in 57 millis
Executed analyze GPS data in 3 millis
Executed load telemetry in 20 millis
Executed load sample gps data in 20 millis
Executed analyze GPS data in 1 millis
Executed load telemetry in 19 millis
Executed load sample gps data in 19 millis
from gps-overlay-on-video.
Sorry for the lack of replies folks.
Indeed it runs only with java -jar file.jar
. I loaded a 5 minute video file with the corresponding gpx file and it seemed to appear fine the video and the map.
However when trying to play the video, it crashed with
Uncaught error from thread [gpv-akka.actor.default-dispatcher-5]: Java heap space, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[gpv]
java.lang.OutOfMemoryError: Java heap space
[ERROR] [SECURITY][02/16/2024 17:35:58.996] [gpv-akka.actor.default-dispatcher-5] [akka.actor.ActorSystemImpl(gpv)] Uncaught error from thread [gpv-akka.actor.default-dispatcher-5]: Java heap space, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[gpv]
java.lang.OutOfMemoryError: Java heap space
So maybe it needs some flag to set the max heap space such as -Xmx[NUMBER]g
? Though as it is a 32-bit JRE it can only be assigned 2GB? Tried with -Xmx2g
and it says
$ java -Xmx2g -jar gps-overlay-on-video.jar
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
While with 4GB it says
$ java -Xmx4g -jar gps-overlay-on-video.jar
Invalid maximum heap size: -Xmx4g
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
so I am not really sure if it is feasible at all on a Windows host.
from gps-overlay-on-video.
Related Issues (20)
- Uknown host HOT 1
- crashed while try to load video
- maybe i am just too stupid mac os ventura... HOT 1
- Failing to launch using Linux Mint. HOT 1
- Converter stuck when exporting
- OSX Apple Chip: xuggle not found when run from jar in MacOS Sonoma 14.4 (Apple Chip) // SBT fails on SAXParserFactory
- GPS Speed smoothing
- Endless loop loading GPX HOT 2
- Missing dependency of the Github release library HOT 1
- GPS data not being loaded, if the GPX file has no elevation data. HOT 1
- Error compilation in Debian HOT 2
- Add map gauge HOT 1
- Flatpak support HOT 1
- broken link HOT 1
- Can't start app on mac os - module java.desktop does not "opens javax.swing.plaf.basic" to unnamed module HOT 1
- Unable to run on MacOS 12.3 (21E230) with openjdk version "17.0.2" 2022-01-18 HOT 1
- Feature req HOT 1
- Shift works on preview but not on rendered video HOT 2
- codec H.265 not support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gps-overlay-on-video.