cuMemGetInfo incorrect results?

Solved: Seems it was a tricky problem in the program. I apologize for any inconvenience.

Let me refrase my problem. It seems that I cannot allocate the amount of memory returned by cuMemGetInfo as being free.

1MB = 1024 *1024 bytes.

I know this I was just wondering where the different results were coming from and why my application couldnt actually allocated the amount of memory returned as being free memory.