Insufficient space

I’m getting the below message when I tried to run any command in my shell, if anybody have addressed the similar issue and found the solution please post it. Thanks.

Java HotSpot™ 64-Bit Server VM warning: Insufficient space for shared memory file:
25693
Try using the -Djava.io.tmpdir= option to select an alternate temp location.