Skip to content

Allocation unit\ block size for virtual memory in java using oshi. #492

Closed
@sarayukrishna

Description

In java using OSHI. how to determine the allocation unit size or block size for virtual memory in windows.

im able to get the allocation unit or partition or block size for all drives in the pc . using

Map<String, List> blockInfo = WmiUtil.selectStringsFrom(null, "Win32_Volume", "Name,BlockSize", null);
List blockSize = blockInfo.get("BlockSize");

Now my need is i need to get the block size for virtual memory too. using win32_volume im not able to get the block size for virtual memory.

Metadata

Assignees

No one assigned

    Labels

    good first issueGood issues for new contributors to work onnew featureSomething OSHI doesn't do now but could do

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions