Well, I don't really understand what you're trying to do, but I'll take some wild guesses :-)
Is there something in SNMP::MIB::Compiler that is written with a Unix-like OS in mind? Perhaps on Windows you hit a loop somewhere that never exits -- memory leak!
Have you tried something simple with this module on Windows? Or adding debug output?