codious
codious

Reputation: 3511

java xmx option not recognised

I am using a BI data integration tool called Talend built over Eclipse using Java.

On launching a job it says

Could not create the Java virtual machine.
Unrecognized option: --Xmx1024M

ini file:

-vmargs
-Xms64m
-Xmx1536m
-XX:MaxPermSize=256m
-Dfile.encoding=UTF-8

ive a 4GB 32 bit windows pc. 2.85GB usable

Upvotes: 0

Views: 4571

Answers (1)

Brian Agnew
Brian Agnew

Reputation: 272267

You should only use one dash e.g.

java -Xmx1024m  ....

See the docs for more command-line option info.

Upvotes: 5

Related Questions