Memory usage and int to bigint