Actually, scratch what I said about how to increase the RAM usage on Technic. I had to download and install Windows Offline x64bit Java which allowed me to increase my RAM.
Either way, it solved my problem and I'm able to install modpacks now. Thanks for your help!