Search Results

Search found 2 results on 1 pages for '16bytes'.

Page 1/1 | 1 

  • Opinion of OSCON?

    - by 16bytes
    This year I have the opportunity to travel to the conference of my choice and thus far have been looking at OSCON. For those who have attended, what is your opinion of the conference? Any tips/tricks? Any tips to effectively plan what to see/attend? Any suggestions for lesser known conferences? As a working programmer, my interest is pretty general; I want to learn more about up-and-coming tech that I may have a chance to use and/or use more effectively.

    Read the article

  • OutOfMemoryException

    - by Andrew
    I have an application that is pretty memory hungry. It holds a large amount of data in some big arrays. I have recently been noticing the occasional OutOfMemoryException. These OutOfMemoryExceptions are occurring long before my application (ASP.Net) has used up the 800mb available to it. I have track the issue down to the area of code where the array is resized. The array contains a structure that is 74bytes in size. (I know that you shouldn't create struct's that are bigger than 16bytes), but this application is a port from a Vb6 application). I have tried changing the struct to a class and this appears to have fixed the problem for now. I think the reason that changing to a class solves the problem has to do with the fact that when using a struct and the array is resized, a segment of memory that is large enough to store the new array needs to be reserved (e.g. (currentArraySize + increaseBySize)*74) cannot be found. This leads to the OutOfMemoryException. This isn't the case with a class as each element of the array only needs 8bytes to store a pointer to the new object. Is my thinking correct here?

    Read the article

1