Getting error while trying to use pig

pig -useHCatalog;
ls: cannot access /usr/hdp/2.5.0.0-1245/hive/lib/slf4j-api-*.jar: No such file or directory
ls: cannot access /usr/hdp/2.5.0.0-1245/hive-hcatalog/lib/hbase-storage-handler-.jar: No such file or directory
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000076c975800000, 351272960, 0) failed; error=‘Cannot allocate memory’ (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 351272960 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/anuragjaiswal140389/hs_err_pid5060.log

[anuragjaiswal140389@gw01 ~]$ pig -useHCatalog();
-bash: syntax error near unexpected token `(’
[anuragjaiswal140389@gw01 ~]$ pig -useHCatalog
ls: cannot access /usr/hdp/2.5.0.0-1245/hive/lib/slf4j-api-*.jar: No such file or directory
ls: cannot access /usr/hdp/2.5.0.0-1245/hive-hcatalog/lib/hbase-storage-handler-.jar: No such file or directory
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000075c6fda00000, 351272960, 0) failed; error=‘Cannot allocate memory’ (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 351272960 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/anuragjaiswal140389/hs_err_pid5268.log

[anuragjaiswal140389@gw01 ~]$ pig -useHCatalog
ls: cannot access /usr/hdp/2.5.0.0-1245/hive/lib/slf4j-api-*.jar: No such file or directory
ls: cannot access /usr/hdp/2.5.0.0-1245/hive-hcatalog/lib/hbase-storage-handler-.jar: No such file or directory
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x000067e712800000, 351272960, 0) failed; error=‘Cannot allocate memory’ (errno=12)

There is insufficient memory for the Java Runtime Environment to continue.

Native memory allocation (mmap) failed to map 351272960 bytes for committing reserved memory.

An error report file with more information is saved as:

/home/anuragjaiswal140389/hs_err_pid5732.log