Have you tried 10G, 5G, 2G?
This error is not coming from DBpedia Spotlight. This sounds like something
with your JVM or Maven (btw. we use Maven2).
Please search around a bit and see what you can do. If you still can't
figure out, we can keep brainstorming.
Cheers,
Pablo
On Tue, Apr 3, 2012 at 3:12 PM, David Gösenbauer <
[email protected]> wrote:
> Am 03.04.2012 15:00, schrieb Pablo Mendes:
>
>
> Where are you setting the -Xmx? Where does the memory error happen? Can
> you pls send more info?
>
> On Tue, Apr 3, 2012 at 2:40 PM, David Gösenbauer <
> [email protected]> wrote:
>
>> Am 03.04.2012 14:31, schrieb Pablo Mendes:
>>
>> Hey David,
>> You don't really need the spotlight-db, as Lucene can be used for that.
>> But I added it anyways for you here:
>> http://spotlight.dbpedia.org/download/release-0.5/spotlight-db.tgz
>>
>> Additionaly my machine only let's me use 256MB of memory because it
>>> thinks I won't need 16G (*The specified size exceeds the maximum
>>> representable size...*)
>>
>>
>> I don't understand what you mean there, but I think your JVM is telling
>> you that your computer does not have 16G available. Is that the case? Set
>> your -Xmx to a maximum of your total memory minues 1G.
>>
>> Cheers,
>> Pablo
>>
>> On Tue, Apr 3, 2012 at 2:01 PM, David Gösenbauer <
>> [email protected]> wrote:
>>
>>> Hi Pablo!
>>>
>>> I've been struggling with setting up my own server with dbpedia
>>> spotlight. I've been getting all the files from "
>>> http://spotlight.dbpedia.org/download/release-0.5/" so far (*for now I
>>> just use those referenced by conf/server.properties*). But I can't seem
>>> to get a hold of "org.dbpedia.spotlight.core.database.connector =
>>> jdbc:hsqldb:*file:/data/spotlight/3.7/database/spotlight-db*;shutdown=true&readonly=true".
>>> Additionaly my machine only let's me use 256MB of memory because it thinks
>>> I won't need 16G (*The specified size exceeds the maximum representable
>>> size...*)
>>>
>>> I'd be glad if you could support my little project :).
>>>
>>> Thanks in advance and regards,
>>> David
>>>
>>
>> Hi,
>>
>> Thanks for the file! If I don't add spotlight-db he tries to use Lucene
>> and then throws:
>>
>> WARN 2012-04-03 13:54:07,568 main [SpotlightConfiguration] - Tried to
>> use core
>> database provided, but failed. Will use Lucene index as core database.
>> java.sql.SQLException: Table not found in statement [select * from
>> OntologyType]
>> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
>> at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unknown Source)
>> at org.hsqldb.jdbc.jdbcStatement.executeQuery(Unknown Source)
>> at
>> org.dbpedia.spotlight.model.DBpediaResourceFactorySQL.<init>(DBpediaResourceFactory.scala:87)
>> at
>> org.dbpedia.spotlight.model.SpotlightConfiguration.createDBpediaResourceFactory(SpotlightConfiguration.java:111)
>> at
>> org.dbpedia.spotlight.model.SpotlightConfiguration.<init>(SpotlightConfiguration.java:230)
>> at org.dbpedia.spotlight.web.rest.Server.main(Server.java:70)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:601)
>> at
>> org_scala_tools_maven_executions.MainHelper.runMain(MainHelper.java:161)
>> at
>> org_scala_tools_maven_executions.MainWithArgsInFile.main(MainWithArgsInFile.java:26)
>>
>> Concerning the memory error I get it for anything above 256MB though my
>> machine has 16GB.
>>
>> Regards,
>> David
>>
>
> Hey,
>
> I set it in rest/pom.xml.
>
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> Invalid maximum heap size: -Xmx15G
>
> The specified size exceeds the maximum representable size.
>
> I have 16G it will only work with everything less equal 256m. Somehow I
> think my JVM has no idea how much memory I have or has assigned too little
> if that's possible...
>
> Regards,
> David
>
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users