Hi Ghokul,
bad_alloc may be thrown even if you have "unlimited" virtual memory, I believe it typically happens when the requested memory is larger than available physical + swap.
However, even with large swap going beyond the physical RAM will slow mapping to almost 0 speed.
How much physical RAM do you have? Your genome index will require ~30GB.
However, if you use --genomeSAsparseD <N> at the *genome generation step*, you can reduce the require RAM.
E.g., for 16GB of RAM, you would need --genomeSAsparseD 2
Cheer
Alex