Category "memory"

Is there a kernel mode API that allows safe access to ntoskrnl.exe address space

I'm just playing around for fun only(on Windows 8.1) with kernel mode address space trying to see if I can access the address space belonging to ntoskrnl.exe fr

System.AccessViolationException inside windows docker container

I am running a 3d-modeling software inside a windows docker container. In the process of a simple run, i get an exception: Unhandled exception. (thread: (Id=2,

When I call the C system() function, is the location of the new program's main() stack frame similar to the original program's main() stack frame?

I'm wondering if when I call the C system() function, the location of the new program's main() stack frame is similar to the original program's main() stack fra

PyCharm has failed to load the environment from '/bin/zsh'

I wrote a program about a month ago, and it worked fine. I haven't touched it since than, until today. All of a sudden, I get the warning when opening Pycharm:

What is the best way to minimize the response from a cCALL statement in RPG?

We have a program which will be used by many other rpg programs. All process programs need to call this program to get a next counter number. As the program n

How to write semantics in K framework for a language similar to ada-spark

I am working with K framework and trying to write semantics for a language similar to ada-spark and in that, I want to write semantics that involves allocation

How much value do the 8 bit variable holds?

Probably answer is 256 but I am not satisfied with it. Suppose a variable has 8 bits , its mean its 8th bit can hold the value 256 . But it also has other seve

Java using much more memory than heap size (or size correctly Docker memory limit)

For my application, the memory used by the Java process is much more than the heap size. The system where the containers are running starts to have memory prob

What is the purpose of std::launder?

P0137 introduces the function template std::launder and makes many, many changes to the standard in the sections concerning unions, lifetime, and pointers. Wh

Private Data in VMMap is very large on some machines

I'm trying to debug a memory exhaustion issue for my native Win32 CPP app, so far i have found that on some machine when launched, app the memory usage is very

memory.limit() bug: "memory.limit() is not longer supported". Increasing memory

When I write "memory.limit()" I get the following bug: memory.limit() [1] Inf Warning message: 'memory.limit()' is no longer supported What I need is to incre

How do I set the maximum php memory limit

How should I set 10GB of memory_limit? Should I display it as memory_limit=10G or memory_limit=10240M

Memory Mapped File location

I am trying to search a list of 268 000 words. The idea is to check whether a word that the user inputs exists in that list. I have accomplished this using a si

How to benchmark memory usage of a function?

I notice that Rust's test has a benchmark mode that will measure execution time in ns/iter, but I could not find a way to measure memory usage. How would I imp

How do I get the size of a ruby object in mb in Rails?

I want to query an ActiveRecord model, modify it, and calculate the size of the new object in mb. How do I do this?

MemoryError: Unable to allocate 1.88 GiB for an array with shape (2549150, 99) and data type object

I have a problem. I want to normalize with pd.json_normalize(...) a list with inside dict but unfortunately I got a MemoryError. Is there an option to work arou

Fortify's denial of service problem in stringbuilder in java

Fortify client gives the error and recommendations for string builder, problem code: StringBuilder sb=new StringBuilder(); sb.append(request.getParameter("i

PE Section Flags

For example Characteristics of section .text is 60000020, seems that is IMAGE_SCN_CNT_CODE 0x00000020 IMAGE_SCN_MEM_EXECUTE 0x20000000 IMAGE_SCN_MEM_READ 0

How do I read a large csv file with pandas?

I am trying to read a large csv file (aprox. 6 GB) in pandas and i am getting a memory error: MemoryError Traceback (most recent

Python 'Out of memory' when opening image

import pygame from pygame.locals import * \ image = pygame.image.load('.\\w.jpg') I'm trying to load an 59MB jpg file and it fails saying 'Out of memory' I'm