LucenePDFDocument to read pdf file

hi..

i am using lucene to index the 22mb pdf file, while indexing its giving me

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

plz help me

[188 byte] By [myhoneya] at [2007-11-27 10:55:50]
# 1

Increase the JVM's heap space... google it.

corlettka at 2007-7-29 11:59:04 > top of Java-index,Java Essentials,Java Programming...
# 2

i tried it, but its not working..

myhoneya at 2007-7-29 11:59:04 > top of Java-index,Java Essentials,Java Programming...