3

Those questions are related to the same topic: memory handling with ASP Classic:

I'm not questionning the truthiness of the answers (however they differ slightly), but the fact they aren't sourced. Moreover, those questions are quite old.

I'm looking for a sourced answer on this topic. I'm not sure here about the best approach: should I ask a new question, linking those ones and ask for reliable sources I haven't found? Won't be this likely a duplicate?

2
  • 6
    Put a bounty on one of them? Jul 23, 2020 at 17:07
  • @oguzismail, indeed... Also as said Cody Gray, it's possible to describe the goal of the bounty.
    – Amessihel
    Jul 23, 2020 at 17:48

1 Answer 1

10

What kind of "source" are you looking for? Which source would you consider to be reliable? Microsoft's documentation has never been particularly clear about this issue, which is why there's so much folklore. Worse, the technology is getting so long in the tooth that Microsoft's annoying tendency to rearrange or even remove content from MSDN is going to make it very difficult to locate an official source.

While I agree with Oguz's comment that you could set a bounty to attract additional attention and hopefully an answer that meets your expectations, you will need to be extra clear in the bounty message to explain what exactly you're looking for.

You might also consider whether you would expect empirical proof in lieu of a source, as that might be easier to obtain. Especially with older languages/technologies that are no longer being updated, an experiment that verifies what the code generator emits, how the code behaves in the runtime environment, etc., can be just as useful and perhaps even more illustrative.

As an alternative to a bounty, depending on exactly what you're trying to accomplish, I would also suggest that you go look at answers to equivalent questions for classic Visual Basic (e.g., VB 6). This was the same runtime environment, so the answers will be the same, but there was definitely more discussion on this in terms of classic VB than there was specifically for classic ASP. I know first-hand, because I remember personally researching this about a decade ago and reading most of the information that was out there. I don't remember a first-party source, but I do remember there being plenty of convincing evidence available.

6
  • "This was the same runtime environment." I wasn't sure about this, so I didn't add another question dealing with this, which provides a slightly different answer. The fact you can describe the goal of the bounty is interesting.
    – Amessihel
    Jul 23, 2020 at 17:22
  • "Reliable" meant something more than a dogmatic "do that". I wrote a homemade API based on a variation of IncludeOnce and got annoyed since it relies on a small set of global ActiveX objects. Thinking of a lot of HTTP requests leading to memory leaks... By the way you asnwered to my question. :)
    – Amessihel
    Jul 23, 2020 at 17:27
  • @Amessihel Yeah, any time you start a bounty, you can select a canned summary reason, and then you also get a textbox where you can type in a more detailed explanation. Jul 23, 2020 at 17:43
  • Got it thanks. The funny part here is that your answer, a meta one, is also more satisfactory on the technical question. :)
    – Amessihel
    Jul 23, 2020 at 17:47
  • 2
    You happened to run into someone who knew a lot about classic VB back in the day, but now does other things and doesn't really answer technical questions about this stuff anymore. Basically, ignore most of the folklore surrounding this. It's rooted primarily in FUD, mostly uncertainty. The classic VB garbage collector is a simple reference-counting implementation, rooted in COM, like all of classic VB. There's almost no point in setting anything to Nothing; that's just cargo-cult programming. Locally-declared references get automatically set to Nothing at the end of a block, a la RAII. Jul 23, 2020 at 17:55
  • (Added cargo-cult programming to my glossary.) Funnier, even a - quite old - O'Reilly page supports it.
    – Amessihel
    Jul 23, 2020 at 18:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .