title: Out of Memory Error VB6 when try to add an existing Class module
body: <p>I'm working on a project in VB6. I have to add a download functionality. It contains 1 form, 1 class module and 1 module (bas) files. When I add the existing module to my project, it is successful But when I try to add the class module or the frm file to the project, it says OUT OF MEMORY. I have been banging my head against this issue for quite some time now but couldn't find any solution.</p>
  
  <p>I cannot post any code because it's a company project. All I can tell is that its a huge project with thousands of lines of code. The module I'm trying to add is used to download a file over HTTP, and it accesses the methods in Wininet.dll.</p>
  
  <p>I don't know if the project has reached it maximum limit of lines of code, or whether it's an issue of variables.</p>
  
  <p>I have heard that making a DLL can solve this issue, but we don't need that. Can anyone help?</p>