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 have 1 GB RAM in the system, Kindly let me know if any solution exits ??
Thanks On Sat, Jun 5, 2010 at 8:35 PM, Sammy Yu <[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]>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
