But the IGV always crashed because of the low memory ...
You should probably use indexed binary format, such as bigbed for annotation files or bigwig for coverage files. Those file are smaller than wig/bed/bedgraph files and don't need to be fully loaded in the genome browser, meaning that you save a lot of memory.