|
salut
lorsque j'exécute sync_reasoner() le message d'erreur suivant est afficher :
* Owlready2 * Running HermiT...
java -Xmx2000M -cp C:\Python\Python37\lib\site-packages\owlready2\hermit;C:\Python\Python37\lib\site-packages\owlready2\hermit\HermiT.jar org.semanticweb.HermiT.cli.CommandLine -c -O -D -I file:///C:/Users/Khaoula/AppData/Local/Temp/tmptto_zvjn
Traceback (most recent call last):
File "C:\Python\Python37\lib\site-packages\owlready2\reasoning.py", line 136, in sync_reasoner_hermit
output = subprocess.check_output(command, stderr = subprocess.STDOUT)
File "C:\Python\Python37\lib\subprocess.py", line 376, in check_output
**kwargs).stdout
File "C:\Python\Python37\lib\subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['java', '-Xmx2000M', '-cp', 'C:\\Python\\Python37\\lib\\site-packages\\owlready2\\hermit;C:\\Python\\Python37\\lib\\site-packages\\owlready2\\hermit\\HermiT.jar', 'org.semanticweb.HermiT.cli.CommandLine', '-c', '-O', '-D', '-I', 'file:///C:/Users/Khaoula/AppData/Local/Temp/tmptto_zvjn']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Khaoula/PycharmProject/cv/cv.py", line 9, in <module> sync_reasoner()
File "C:\Python\Python37\lib\site-packages\owlready2\reasoning.py", line 141, in sync_reasoner_hermit
raise OwlReadyJavaError("Java error message is:\n%s" % (e.stderr or e.output or b"").decode("utf8"))
owlready2.base.OwlReadyJavaError: Java error message is:
Error occurred during initialization of VM
Could not reserve enough space for 2048000KB object heap
Process finished with exit code 1
|