limit convert memory usage