[ https://issues.apache.org/jira/browse/GEODE-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Darrel Schneider updated GEODE-2841: ------------------------------------ Component/s: (was: offheap) management > unable to create off-heap region from cache.xml > ----------------------------------------------- > > Key: GEODE-2841 > URL: https://issues.apache.org/jira/browse/GEODE-2841 > Project: Geode > Issue Type: Bug > Components: management > Reporter: Swapnil Bawaskar > > I defined a cache.xml as follows: > {noformat} > <?xml version="1.0" encoding="UTF-8"?> > <cache > xmlns="http://geode.apache.org/schema/cache" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://geode.apache.org/schema/cache > http://geode.apache.org/schema/cache/cache-1.0.xsd" > version="1.0"> > <region name="regionA"> > <region-attributes off-heap="true"/> > <region-attributes data-policy="partition"/> > </region> > </cache> > {noformat} > But, this region is not configured for off-heap: > {noformat} > gfsh>describe region --name=/regionA > .......................................................... > Name : regionA > Data Policy : partition > Hosting Members : serv1 > Non-Default Attributes Shared By Hosting Members > Type | Name | Value > ------ | ----------- | --------- > Region | size | 0 > | data-policy | PARTITION > {noformat} > When the region is created from gfsh > {noformat} > gfsh>create region --name=regionB --type=PARTITION --off-heap > {noformat} > The region is configured for off-heap > {noformat} > gfsh>describe region --name=/regionB > .......................................................... > Name : regionB > Data Policy : partition > Hosting Members : serv1 > Non-Default Attributes Shared By Hosting Members > Type | Name | Value > --------- | ---------------- | --------- > Region | data-policy | PARTITION > | size | 0 > | off-heap | true > Partition | local-max-memory | 3276 > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)