Did you changed the file in build/dist/bin directory? Have you rerun ant 
package again? If you run ant package the build/dist/bin directory will be 
overwritten by the files in bin/ directory. So you may want to change files in 
that directory.

On Jun 6, 2010, at 12:33 PM, Shuja Rehman wrote:

Hi all
Thanks for reply.
I have changed the heap size to 1024, then 512 then even 100 in the specified 
file. But i am still getting this error.
I think i need to change the size to some other file also as the error message 
contain the same 4096.

Invalid maximum heap size: -Xmx4096m

Kindly let me know if any solution exits ??


Thanks


On Sat, Jun 5, 2010 at 8:35 PM, Sammy Yu 
<[email protected]<mailto:[email protected]>> wrote:
Hi Shuja,
   I ran into a similar issue on trunk, you can lower the HADOOP_HEAPSIZE value 
in the file ($hive_directory/bin/ext/util/execHiveCmd.sh) to something smaller 
than 1024.

Cheers,
Sammy


On Sat, Jun 5, 2010 at 9:15 AM, Shuja Rehman 
<[email protected]<mailto:[email protected]>> wrote:

Hi
I have installed hadoop and hive according to starter kits on ubuntu 10. hadoop 
is running fine. but when i write this command

r...@digitalvision:/usr/local/hadoop/hive/build/dist# bin/hive

i get this following error.

Invalid maximum heap size: -Xmx4096m
The specified size exceeds the maximum representable size.
Could not create the Java virtual machine.

Kindly let me know how to solve this problem
Thanks

--
Regards
Shuja-ur-Rehman Baig
_________________________________
MS CS - School of Science and Engineering
Lahore University of Management Sciences (LUMS)
Sector U, DHA, Lahore, 54792, Pakistan
Cell: +92 3214207445











--
Regards
Shuja-ur-Rehman Baig
_________________________________
MS CS - School of Science and Engineering
Lahore University of Management Sciences (LUMS)
Sector U, DHA, Lahore, 54792, Pakistan
Cell: +92 3214207445

Reply via email to