Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

512x512?


  • Please log in to reply
31 replies to this topic

#1

donttort
    donttort

    Out of the Water

  • Members
  • 8 posts

Posted 20 July 2009 - 06:01 AM

I've tried to make many 512x512 maps but when i try to run them on my server, everything just freezes up. Is there a size limit on maps? And if there is, will it ever be raised?

Register or log in to remove.

#2

Zuriki
    Zuriki

    Forum/Wiki Sponsor

  • Curse Premium
  • 5317 posts
  • Location: The Netherlands
  • Minecraft: gdscei

Posted 20 July 2009 - 07:19 AM

512x512x256 Is the max I think.

#3

Snowman
    Snowman

    Forum/Wiki Sponsor

  • Members
  • 2404 posts
  • Location: Antarctica

Posted 20 July 2009 - 09:48 AM

I've been on a map that was 1024x1024x64 though.
Posted Image

#4

EmpiresBane

Posted 20 July 2009 - 02:51 PM

The limit is your computers RAM.
Blargha! Blargha! Blargha!
I wouldn't listen to a thing I say. I'm probably insane.

#5

donttort
    donttort

    Out of the Water

  • Members
  • 8 posts

Posted 21 July 2009 - 12:34 AM

you'd think i'd be good, i have four gigs of ram

#6

EmpiresBane

Posted 21 July 2009 - 03:35 PM

Bandwidth is also a problem.

Quote

you'd think i'd be good, i have four gigs of ram
How much RAM is the server allowed to use?
Blargha! Blargha! Blargha!
I wouldn't listen to a thing I say. I'm probably insane.

#7

omeneditor

Posted 21 July 2009 - 03:41 PM

512MB by default. It's in the start_server.bat file. Change -Xmx512M to something else to give it more, e.g -Xmx2048M.

#8

Phygar
    Phygar

    Stone Miner

  • Members
  • 80 posts

Posted 21 July 2009 - 04:08 PM

I did 512x512x512, it worked fine.

#9

Zuriki
    Zuriki

    Forum/Wiki Sponsor

  • Curse Premium
  • 5317 posts
  • Location: The Netherlands
  • Minecraft: gdscei

Posted 21 July 2009 - 04:13 PM

512x512x256 = 67108864(bytes of map data) = 4MB = server_level.dat (when decompressed)
1024x1024x64 = 67108864 = Same as above.

As you can see any combination that of bit numbers that total no more than 67108864 is acceptable (1024 is the largest accepted number since no combination of 2048x?x? would total the stated number).

The minimum accepted number is 16, since each sector is divided into 16x16x16 blocks.

@Phygar: In theory that shouldn't work...

#10

EmpiresBane

Posted 21 July 2009 - 04:25 PM

Quote

@Phygar: In theory that shouldn't work...
I find the odd thing about theories and computers is that they seem to scheme with eachother. They seem to contradict eachother untill you wake up one morning, all sweaty, and realize you were just stupid and read the numbers wrong. (i'm not saying you read the numbers wrong, Zuriki. I'm implying someone else did...)
Blargha! Blargha! Blargha!
I wouldn't listen to a thing I say. I'm probably insane.

#11

Phygar
    Phygar

    Stone Miner

  • Members
  • 80 posts

Posted 21 July 2009 - 05:13 PM

I have no idea how it worked, but it did, just tested now, and it worked.

#12

donttort
    donttort

    Out of the Water

  • Members
  • 8 posts

Posted 21 July 2009 - 05:19 PM

i changed the thing in startserver.bat, when i start the server with ServerOpConsole.exe it starts but not with bigger maps. but even on smaller maps the startserver.bat says something that leads me to think it cannot get enough memory.

#13

virus32
    virus32

    Forum/Wiki Sponsor

  • Curse Premium
  • 100 posts

Posted 22 July 2009 - 01:37 AM

Quote

512x512x256 = 67108864(bytes of map data) = 4MB = server_level.dat (when decompressed)
1024x1024x64 = 67108864 = Same as above.

As you can see any combination that of bit numbers that total no more than 67108864 is acceptable (1024 is the largest accepted number since no combination of 2048x?x? would total the stated number).
Is it possible then to make a map that is 256x256x512? It would only be 33554432 bytes, but I feel like it doesn't work or I might have seen one already.
Posted Image Posted Image Posted ImagePosted Image

#14

Zuriki
    Zuriki

    Forum/Wiki Sponsor

  • Curse Premium
  • 5317 posts
  • Location: The Netherlands
  • Minecraft: gdscei

Posted 22 July 2009 - 01:39 AM

It's less than 4MB so yes.

#15

virus32
    virus32

    Forum/Wiki Sponsor

  • Curse Premium
  • 100 posts

Posted 22 July 2009 - 02:39 AM

Quote

i changed the thing in startserver.bat, when i start the server with ServerOpConsole.exe it starts but not with bigger maps. but even on smaller maps the startserver.bat says something that leads me to think it cannot get enough memory.
Are you talking about a buffer overflow by any chance? That's what I keep getting, but adjusting the ram in startserver.bat doesn't seem to work.
Posted Image Posted Image Posted ImagePosted Image

#16

Sambo
    Sambo

    Out of the Water

  • Members
  • 2 posts

Posted 22 July 2009 - 02:21 PM

what do the xms and xmx in the batch mean? also should i be setting the same amount of memory to both?

#17

omeneditor

Posted 22 July 2009 - 03:05 PM

No, Xmx is the maximum heap size the Java virtual machine can address, and Xms is the minimum. You can set them to be the same if you want.

#18

Shadaez
    Shadaez

    Tree Puncher

  • Members
  • 33 posts

Posted 28 September 2009 - 03:49 PM

Quote

512x512x256 = 67108864(bytes of map data) = 4MB = server_level.dat (when decompressed)
1024x1024x64 = 67108864 = Same as above.

As you can see any combination that of bit numbers that total no more than 67108864 is acceptable (1024 is the largest accepted number since no combination of 2048x?x? would total the stated number).

The minimum accepted number is 16, since each sector is divided into 16x16x16 blocks.

@Phygar: In theory that shouldn't work...
Is this guy telling the truth? Someone just said they did 512x512x512. I want to run a 1024x1024x128 map on a VPS, would it work?

#19

Snowman
    Snowman

    Forum/Wiki Sponsor

  • Members
  • 2404 posts
  • Location: Antarctica

Posted 28 September 2009 - 06:03 PM

Quote

Quote

512x512x256 = 67108864(bytes of map data) = 4MB = server_level.dat (when decompressed)
1024x1024x64 = 67108864 = Same as above.

As you can see any combination that of bit numbers that total no more than 67108864 is acceptable (1024 is the largest accepted number since no combination of 2048x?x? would total the stated number).

The minimum accepted number is 16, since each sector is divided into 16x16x16 blocks.

@Phygar: In theory that shouldn't work...
Is this guy telling the truth? Someone just said they did 512x512x512. I want to run a 1024x1024x128 map on a VPS, would it work?
Yay for bumping dead threads...

He is true, 1024x1024x64 is the biggest you can get, bigger than that will give you some serious problems.
Posted Image

#20

Shadaez
    Shadaez

    Tree Puncher

  • Members
  • 33 posts

Posted 28 September 2009 - 08:21 PM

Nothing wrong with bumping a thread instead of making a new one. And I don't think it's true, because that guy said 512^3 worked.